aboutsummaryrefslogtreecommitdiff
path: root/docker.nix
diff options
context:
space:
mode:
authorRok Garbas <rok@garbas.si>2021-12-21 21:17:29 +0100
committerRok Garbas <rok@garbas.si>2021-12-21 21:17:29 +0100
commit534bc5a3d1fba33f25f9921e8cea7ac8e98288c5 (patch)
tree130329944bdd82517a7d2bae8774eb0308e0c7fc /docker.nix
parent89faff93e2035324ed2c77e883d959da0b28ef19 (diff)
Add cacert to /etc/ssl/certs in the docker image
Fixes #5797
Diffstat (limited to 'docker.nix')
-rw-r--r--docker.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/docker.nix b/docker.nix
index ffb553f78..25930bb87 100644
--- a/docker.nix
+++ b/docker.nix
@@ -180,6 +180,9 @@ let
set -x
mkdir -p $out/etc
+ mkdir -p $out/etc/ssl/certs
+ ln -s /nix/var/nix/profiles/default/etc/ssl/certs/ca-bundle.crt $out/etc/ssl/certs
+
cat $passwdContentsPath > $out/etc/passwd
echo "" >> $out/etc/passwd