Skip to content

Commit

Permalink
add USER 1001
Browse files Browse the repository at this point in the history
  • Loading branch information
anusreelakshmi934 committed Feb 20, 2025
1 parent 86e9a9b commit 8e7a2dd
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,6 @@ RUN features.sh
COPY --chown=1001:0 build/libs/*.war /config/apps

RUN configure.sh

# Switch to non-root user
USER 1001
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,6 @@ RUN features.sh
COPY --chown=1001:0 build/libs/*.war /config/apps

RUN configure.sh

# Switch to non-root user
USER 1001
3 changes: 3 additions & 0 deletions src/test/resources/projects/maven/singleModMavenMP/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,6 @@ RUN features.sh
COPY --chown=1001:0 target/*.war /config/apps/

RUN configure.sh

# Switch to non-root user
USER 1001

0 comments on commit 8e7a2dd

Please sign in to comment.