Skip to content

Commit

Permalink
build(container): Ensure the image builder operates as root
Browse files Browse the repository at this point in the history
  • Loading branch information
KirilMihaylov committed Aug 2, 2024
1 parent b361e56 commit f0ca5d6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ RUN ["apt-get", "upgrade", "--purge", "--yes"]

RUN ["apt-get", "install", "--yes", "libc6-dev"]

USER "0":"0"

WORKDIR "/code/"

RUN ["chmod", "=555", "/code/"]
Expand Down

0 comments on commit f0ca5d6

Please sign in to comment.