Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: add trusted root certificates to images #1620

Merged
merged 2 commits into from
Jun 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM otomi/tools:v2.0.0 as ci
FROM otomi/tools:v2.0.2 as ci

ENV APP_HOME=/home/app/stack

Expand Down Expand Up @@ -27,7 +27,7 @@ FROM ci as clean
RUN npm prune --production

#-----------------------------
FROM otomi/tools:v2.0.0 as prod
FROM otomi/tools:v2.0.2 as prod

ENV APP_HOME=/home/app/stack
ENV ENV_DIR=/home/app/stack/env
Expand Down
2 changes: 2 additions & 0 deletions tools/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,8 @@ COPY --from=builder /usr/lib /usr/lib
# Copy over tools
COPY --from=builder $APP_HOME $APP_HOME
COPY --from=builder $HOME/.local/share/helm/plugins $HOME/.local/share/helm/plugins
# Copy over trust store
COPY --from=builder /etc/ssl /etc/ssl

RUN chown -R app:app /home/app
USER app
Expand Down