From 36f7ad33c79f4c137e536bd1492834a10420d993 Mon Sep 17 00:00:00 2001 From: mbecker20 Date: Sat, 18 Oct 2025 11:35:45 -0700 Subject: [PATCH] core and periphery images auto run `update-ca-certificates` on start, only need to mount in. --- bin/core/aio.Dockerfile | 2 +- bin/core/multi-arch.Dockerfile | 2 +- bin/core/single-arch.Dockerfile | 2 +- bin/periphery/aio.Dockerfile | 2 +- bin/periphery/multi-arch.Dockerfile | 2 +- bin/periphery/single-arch.Dockerfile | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/bin/core/aio.Dockerfile b/bin/core/aio.Dockerfile index 5cb33eee3..a4538640d 100644 --- a/bin/core/aio.Dockerfile +++ b/bin/core/aio.Dockerfile @@ -55,7 +55,7 @@ ENV KOMODO_CLI_CONFIG_PATHS="/config" # This ensures any `komodo.cli.*` takes precedence over the Core `/config/*config.*` ENV KOMODO_CLI_CONFIG_KEYWORDS="*config.*,*komodo.cli*.*" -CMD [ "core" ] +CMD [ "/bin/bash", "-c", "update-ca-certificates && core" ] # Label to prevent Komodo from stopping with StopAllContainers LABEL komodo.skip="true" diff --git a/bin/core/multi-arch.Dockerfile b/bin/core/multi-arch.Dockerfile index d84f58ce1..16aa54262 100644 --- a/bin/core/multi-arch.Dockerfile +++ b/bin/core/multi-arch.Dockerfile @@ -51,7 +51,7 @@ ENV KOMODO_CLI_CONFIG_PATHS="/config" # This ensures any `komodo.cli.*` takes precedence over the Core `/config/*config.*` ENV KOMODO_CLI_CONFIG_KEYWORDS="*config.*,*komodo.cli*.*" -CMD [ "core" ] +CMD [ "/bin/bash", "-c", "update-ca-certificates && core" ] # Label to prevent Komodo from stopping with StopAllContainers LABEL komodo.skip="true" diff --git a/bin/core/single-arch.Dockerfile b/bin/core/single-arch.Dockerfile index ec95aee1e..fc343eac0 100644 --- a/bin/core/single-arch.Dockerfile +++ b/bin/core/single-arch.Dockerfile @@ -40,7 +40,7 @@ ENV KOMODO_CLI_CONFIG_PATHS="/config" # This ensures any `komodo.cli.*` takes precedence over the Core `/config/*config.*` ENV KOMODO_CLI_CONFIG_KEYWORDS="*config.*,*komodo.cli*.*" -CMD [ "core" ] +CMD [ "/bin/bash", "-c", "update-ca-certificates && core" ] # Label to prevent Komodo from stopping with StopAllContainers LABEL komodo.skip="true" diff --git a/bin/periphery/aio.Dockerfile b/bin/periphery/aio.Dockerfile index 9032b6126..53d5a9384 100644 --- a/bin/periphery/aio.Dockerfile +++ b/bin/periphery/aio.Dockerfile @@ -29,7 +29,7 @@ ENV PERIPHERY_CONFIG_PATHS="/config" # Change the default in container to /config/keys to match Core ENV PERIPHERY_PRIVATE_KEY="file:/config/keys/periphery.key" -CMD [ "periphery" ] +CMD [ "/bin/bash", "-c", "update-ca-certificates && periphery" ] # Label to prevent Komodo from stopping with StopAllContainers LABEL komodo.skip="true" diff --git a/bin/periphery/multi-arch.Dockerfile b/bin/periphery/multi-arch.Dockerfile index 772b5ff73..d440e111a 100644 --- a/bin/periphery/multi-arch.Dockerfile +++ b/bin/periphery/multi-arch.Dockerfile @@ -32,7 +32,7 @@ ENV PERIPHERY_CONFIG_PATHS="/config" # Change the default in container to /config/keys to match Core ENV PERIPHERY_PRIVATE_KEY="file:/config/keys/periphery.key" -CMD [ "periphery" ] +CMD [ "/bin/bash", "-c", "update-ca-certificates && periphery" ] # Label to prevent Komodo from stopping with StopAllContainers LABEL komodo.skip="true" diff --git a/bin/periphery/single-arch.Dockerfile b/bin/periphery/single-arch.Dockerfile index 8677ccf5d..af07b14ab 100644 --- a/bin/periphery/single-arch.Dockerfile +++ b/bin/periphery/single-arch.Dockerfile @@ -21,7 +21,7 @@ ENV PERIPHERY_CONFIG_PATHS="/config" # Change the default in container to /config/keys to match Core ENV PERIPHERY_PRIVATE_KEY="file:/config/keys/periphery.key" -CMD [ "periphery" ] +CMD [ "/bin/bash", "-c", "update-ca-certificates && periphery" ] # Label to prevent Komodo from stopping with StopAllContainers LABEL komodo.skip="true"