diff options
author | Ross Light <ross@zombiezen.com> | 2022-09-19 18:00:13 -0700 |
---|---|---|
committer | Ross Light <ross@zombiezen.com> | 2022-09-20 08:07:23 -0700 |
commit | f140b5491638c3cbcce079f56b46982428fb7b93 (patch) | |
tree | 20ee713c564782c92544a367f7faa7fbdcb36028 /pkgs/build-support/docker/examples.nix | |
parent | 998f0f7924198b2460458728de59fe738997f28e (diff) |
dockerTools: add missing mkdir to caCertificates derivation
Diffstat (limited to 'pkgs/build-support/docker/examples.nix')
-rw-r--r-- | pkgs/build-support/docker/examples.nix | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/pkgs/build-support/docker/examples.nix b/pkgs/build-support/docker/examples.nix index ff3934941c7ba..224ba07b77437 100644 --- a/pkgs/build-support/docker/examples.nix +++ b/pkgs/build-support/docker/examples.nix @@ -698,4 +698,22 @@ rec { tag = "latest"; contents = [ pkgs.bashInteractive ./test-dummy ]; }; + + # ensure that caCertificates builds + image-with-certs = buildImage { + name = "curl"; + tag = "latest"; + + copyToRoot = pkgs.buildEnv { + name = "image-with-certs-root"; + paths = [ + pkgs.curl + pkgs.dockerTools.caCertificates + ]; + }; + + config = { + Entrypoint = [ "/bin/curl" ]; + }; + }; } |