Skip to content

Commit 4dbb03e

Browse files
authored
fix: add trusted root certificates to images (#1620)
1 parent f365a75 commit 4dbb03e

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM otomi/tools:v2.0.0 as ci
1+
FROM otomi/tools:v2.0.2 as ci
22

33
ENV APP_HOME=/home/app/stack
44

@@ -27,7 +27,7 @@ FROM ci as clean
2727
RUN npm prune --production
2828

2929
#-----------------------------
30-
FROM otomi/tools:v2.0.0 as prod
30+
FROM otomi/tools:v2.0.2 as prod
3131

3232
ENV APP_HOME=/home/app/stack
3333
ENV ENV_DIR=/home/app/stack/env

tools/Dockerfile

+2
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,8 @@ COPY --from=builder /usr/lib /usr/lib
160160
# Copy over tools
161161
COPY --from=builder $APP_HOME $APP_HOME
162162
COPY --from=builder $HOME/.local/share/helm/plugins $HOME/.local/share/helm/plugins
163+
# Copy over trust store
164+
COPY --from=builder /etc/ssl /etc/ssl
163165

164166
RUN chown -R app:app /home/app
165167
USER app

0 commit comments

Comments
 (0)