From a47327a9bf4849ec56bd3e70d786ee0efd40ecd7 Mon Sep 17 00:00:00 2001 From: Daniel Harvey Date: Fri, 28 Jun 2024 11:05:24 +0100 Subject: [PATCH] Add `cacert` to docker image (#782) ### What Allow engine to connect to NDCs via HTTPS. ### How Add `cacert` to Docker image using Nix. V3_GIT_ORIGIN_REV_ID: 52458920236f3868cc8daf18e140f8536d9bc674 --- v3/nix/docker.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/v3/nix/docker.nix b/v3/nix/docker.nix index 82dc07ca274..1efbd305ad3 100644 --- a/v3/nix/docker.nix +++ b/v3/nix/docker.nix @@ -3,6 +3,7 @@ , lib , package , image-name +, pkgs , port , architecture ? null , tag ? null # defaults to the output hash @@ -14,7 +15,7 @@ let args = { name = image-name; created = "now"; - contents = [ package ]; + contents = [ pkgs.cacert package ]; config = { Entrypoint = [ "/bin/${package.pname}"