Skip to content

Commit

Permalink
Install CA certificates in Docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
jmshrv committed Oct 11, 2023
1 parent 45818ea commit 20f841c
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,14 @@ EOF
# (e.g., debian@sha256:ac707220fbd7b67fc19b112cee8170b41a9e97f703f588b2cdbbcdcecdd8af57).
FROM debian:bullseye-slim AS final

# Marvin2 needs CA certificates
RUN apt update && apt install -y ca-certificates

# Clean up apt stuff
apt clean
apt autoremove --yes
rm -rf /var/lib/{apt,dpkg,cache,log}/

# Create a non-privileged user that the app will run under.
# See https://docs.docker.com/develop/develop-images/dockerfile_best-practices/#user
ARG UID=10001
Expand Down

0 comments on commit 20f841c

Please sign in to comment.