Skip to content

Commit

Permalink
container: fix missing cacert
Browse files Browse the repository at this point in the history
Signed-off-by: lucasew <lucas59356@gmail.com>
  • Loading branch information
lucasew committed Sep 15, 2024
1 parent 0f1ad92 commit d5a7475
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions container.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{ dockerTools
, python3Packages
, cacert
, callPackage
, lib
, self
}:
Expand Down Expand Up @@ -28,10 +29,11 @@ dockerTools.streamLayeredImage {

config = {
Entrypoint = [
(lib.getExe (python3Packages.callPackage ./package.nix {inherit self;}))
(lib.getExe (callPackage ./package.nix {inherit self;}))
];
User = "user";
Env = [
"SSL_CERT_FILE=${cacert}/etc/ssl/certs/ca-bundle.crt"
"HOME=/tmp"
"LANGUAGE=en_US"
"UID=1000"
Expand Down

0 comments on commit d5a7475

Please sign in to comment.