Skip to content

Commit

Permalink
feat(helm): use user/group id > 10000 and rename "user" to "miw"
Browse files Browse the repository at this point in the history
  • Loading branch information
pmoscode committed Jun 22, 2023
1 parent 9a48104 commit 4b08914
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ FROM eclipse-temurin:19-jre-alpine
EXPOSE 8080:8080

# run as non-root user
RUN addgroup -g 1001 -S user && adduser -u 1001 -S -s /bin/false -G user user
RUN addgroup -g 11111 -S miw && adduser -u 11111 -S -s /bin/false -G miw miw

USER user
USER miw

COPY /build/libs/miw-latest.jar /app/

Expand Down

0 comments on commit 4b08914

Please sign in to comment.