Skip to content

Commit

Permalink
increase user uid to 10000
Browse files Browse the repository at this point in the history
  • Loading branch information
dignajar committed Jun 23, 2021
1 parent fb18655 commit 7296234
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ RUN pip install -r /tmp/requirements.txt --no-cache-dir

# Run as non-root
ENV USER scheduler
ENV UID 1000
ENV UID 10000
ENV GROUP scheduler
ENV GID 1000
ENV GID 10000
ENV HOME /home/$USER
RUN addgroup -g $GID -S $GROUP && adduser -u $UID -S $USER -G $GROUP

Expand Down
2 changes: 1 addition & 1 deletion kubernetes/full.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,4 +71,4 @@ spec:
securityContext:
readOnlyRootFilesystem: true
runAsNonRoot: true
runAsUser: 1000
runAsUser: 10000

0 comments on commit 7296234

Please sign in to comment.