Skip to content

Commit 36f7ad3

Browse files
committed
core and periphery images auto run update-ca-certificates on start, only need to mount in.
1 parent ec34b2c commit 36f7ad3

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

bin/core/aio.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ ENV KOMODO_CLI_CONFIG_PATHS="/config"
5555
# This ensures any `komodo.cli.*` takes precedence over the Core `/config/*config.*`
5656
ENV KOMODO_CLI_CONFIG_KEYWORDS="*config.*,*komodo.cli*.*"
5757

58-
CMD [ "core" ]
58+
CMD [ "/bin/bash", "-c", "update-ca-certificates && core" ]
5959

6060
# Label to prevent Komodo from stopping with StopAllContainers
6161
LABEL komodo.skip="true"

bin/core/multi-arch.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ ENV KOMODO_CLI_CONFIG_PATHS="/config"
5151
# This ensures any `komodo.cli.*` takes precedence over the Core `/config/*config.*`
5252
ENV KOMODO_CLI_CONFIG_KEYWORDS="*config.*,*komodo.cli*.*"
5353

54-
CMD [ "core" ]
54+
CMD [ "/bin/bash", "-c", "update-ca-certificates && core" ]
5555

5656
# Label to prevent Komodo from stopping with StopAllContainers
5757
LABEL komodo.skip="true"

bin/core/single-arch.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ ENV KOMODO_CLI_CONFIG_PATHS="/config"
4040
# This ensures any `komodo.cli.*` takes precedence over the Core `/config/*config.*`
4141
ENV KOMODO_CLI_CONFIG_KEYWORDS="*config.*,*komodo.cli*.*"
4242

43-
CMD [ "core" ]
43+
CMD [ "/bin/bash", "-c", "update-ca-certificates && core" ]
4444

4545
# Label to prevent Komodo from stopping with StopAllContainers
4646
LABEL komodo.skip="true"

bin/periphery/aio.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ ENV PERIPHERY_CONFIG_PATHS="/config"
2929
# Change the default in container to /config/keys to match Core
3030
ENV PERIPHERY_PRIVATE_KEY="file:/config/keys/periphery.key"
3131

32-
CMD [ "periphery" ]
32+
CMD [ "/bin/bash", "-c", "update-ca-certificates && periphery" ]
3333

3434
# Label to prevent Komodo from stopping with StopAllContainers
3535
LABEL komodo.skip="true"

bin/periphery/multi-arch.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ ENV PERIPHERY_CONFIG_PATHS="/config"
3232
# Change the default in container to /config/keys to match Core
3333
ENV PERIPHERY_PRIVATE_KEY="file:/config/keys/periphery.key"
3434

35-
CMD [ "periphery" ]
35+
CMD [ "/bin/bash", "-c", "update-ca-certificates && periphery" ]
3636

3737
# Label to prevent Komodo from stopping with StopAllContainers
3838
LABEL komodo.skip="true"

bin/periphery/single-arch.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ ENV PERIPHERY_CONFIG_PATHS="/config"
2121
# Change the default in container to /config/keys to match Core
2222
ENV PERIPHERY_PRIVATE_KEY="file:/config/keys/periphery.key"
2323

24-
CMD [ "periphery" ]
24+
CMD [ "/bin/bash", "-c", "update-ca-certificates && periphery" ]
2525

2626
# Label to prevent Komodo from stopping with StopAllContainers
2727
LABEL komodo.skip="true"

0 commit comments

Comments
 (0)