mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-14 17:02:49 +03:00
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:
parent
8f5cfba867
commit
a47327a9bf
@ -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}"
|
||||||
|
Loading…
Reference in New Issue
Block a user