Skip to content

Commit

Permalink
Merge pull request #256 from syntasso/fix/set-dockerfile-user
Browse files Browse the repository at this point in the history
fix: set user on kratix and adapter dockerfiles
  • Loading branch information
kirederik authored Oct 17, 2024
2 parents 7c951eb + 4ad2918 commit 15c8fb2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,6 @@ FROM gcr.io/distroless/cc:nonroot
WORKDIR /
COPY --from=builder /workspace/manager .
COPY --from=alpine/git /usr/bin/git /usr/bin/git
USER 65532:65532

ENTRYPOINT ["/manager"]
1 change: 1 addition & 0 deletions Dockerfile.pipeline-adapter
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,6 @@ COPY --chown=nonroot:nonroot --from=builder /workspace/work-creator/scripts/upda
COPY --chown=nonroot:nonroot --from=builder /workspace/work-creator/scripts/reader /bin/reader
COPY --chown=nonroot:nonroot --from=builder /workspace/work-creator-files /work-creator-files

USER 65532:65532
ENTRYPOINT []
CMD []

0 comments on commit 15c8fb2

Please sign in to comment.