Skip to content

Commit

Permalink
Actually put RUN before clean commands
Browse files Browse the repository at this point in the history
  • Loading branch information
jmshrv committed Oct 11, 2023
1 parent 4d0ab11 commit ea94a4c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,11 @@ 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 ea94a4c

Please sign in to comment.