Add cacert to docker image (#782)

<!-- The PR description should answer 2 (maybe 3) important questions:
-->

### What

Allow engine to connect to NDCs via HTTPS.

<!-- What is this PR trying to accomplish (and why, if it's not
obvious)? -->

<!-- Consider: do we need to add a changelog entry? -->

### How

Add `cacert` to Docker image using Nix.

<!-- How is it trying to accomplish it (what are the implementation
steps)? -->

V3_GIT_ORIGIN_REV_ID: 52458920236f3868cc8daf18e140f8536d9bc674
This commit is contained in:
Daniel Harvey 2024-06-28 11:05:24 +01:00 committed by hasura-bot
parent 8f5cfba867
commit a47327a9bf

View File

@ -3,6 +3,7 @@
, lib , lib
, package , package
, image-name , image-name
, pkgs
, port , port
, architecture ? null , architecture ? null
, tag ? null # defaults to the output hash , tag ? null # defaults to the output hash
@ -14,7 +15,7 @@ let
args = { args = {
name = image-name; name = image-name;
created = "now"; created = "now";
contents = [ package ]; contents = [ pkgs.cacert package ];
config = { config = {
Entrypoint = [ Entrypoint = [
"/bin/${package.pname}" "/bin/${package.pname}"