Skip to content

Commit

Permalink
feat: not run as root (#21)
Browse files Browse the repository at this point in the history
Signed-off-by: Martin Buchleitner <[email protected]>
  • Loading branch information
mabunixda authored Nov 9, 2023
1 parent ee7b301 commit 8101f97
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,8 @@ COPY --from=vault /bin/vault /usr/local/bin/vault
# hadolint ignore=DL3013
RUN pip3 install --no-cache-dir azure-cli pre-commit

RUN addgroup -S build && adduser -S build -G build

USER build

ENTRYPOINT ["/bin/bash"]

0 comments on commit 8101f97

Please sign in to comment.