Skip to content

Commit

Permalink
Clean additional rights as it should already be like that.
Browse files Browse the repository at this point in the history
  • Loading branch information
quintush committed Dec 30, 2024
1 parent d3c6277 commit 121c745
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 9 deletions.
4 changes: 1 addition & 3 deletions AlpineTest.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,7 @@ RUN apk upgrade --no-cache && \
apk del curl git && \
rm -f /var/cache/apk/* && \
addgroup -S helmgroup && \
adduser -u 1000 -S helmuser -G helmgroup && \
mkdir -p /apps && \
chown -R helmuser:helmgroup /apps
adduser -u 1000 -S helmuser -G helmgroup

USER helmuser

Expand Down
4 changes: 1 addition & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,7 @@ RUN apk upgrade --no-cache && \
apk del curl git bash && \
rm -f /var/cache/apk/* && \
addgroup -S helmgroup && \
adduser -u 1000 -S helmuser -G helmgroup && \
mkdir -p /apps && \
chown -R helmuser:helmgroup /apps
adduser -u 1000 -S helmuser -G helmgroup

USER helmuser

Expand Down
4 changes: 1 addition & 3 deletions Fedora.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,7 @@ RUN yum install -y git && \
yum remove -y git && \
rm -rf /var/cache/yum/* && \
groupadd -r helmgroup && \
useradd -u 1000 -r helmuser -g helmgroup && \
mkdir -p /apps && \
chown -R helmuser:helmgroup /apps
useradd -u 1000 -r helmuser -g helmgroup

USER helmuser

Expand Down

0 comments on commit 121c745

Please sign in to comment.