Skip to content

Commit

Permalink
chore: switch back to uid/gid=1000
Browse files Browse the repository at this point in the history
  • Loading branch information
jennifer-richards authored and NGPixel committed May 14, 2024
1 parent 212a915 commit b744f2b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions dev/build/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ LABEL maintainer="IETF Tools Team <tools-discuss@ietf.org>"
ENV DEBIAN_FRONTEND=noninteractive

# uid 498 = wwwrun and gid 496 = www on ietfa
RUN groupadd -g 496 datatracker && \
useradd -c "Datatracker User" -u 498 -g datatracker -m -s /bin/false datatracker
RUN groupadd -g 1000 datatracker && \
useradd -c "Datatracker User" -u 1000 -g datatracker -m -s /bin/false datatracker

RUN apt-get purge -y imagemagick imagemagick-6-common

Expand Down
4 changes: 2 additions & 2 deletions k8s/datatracker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@ spec:
drop:
- ALL
readOnlyRootFilesystem: true
runAsUser: 498 # wwwrun uid on ietfa
runAsGroup: 496 # www group on ietfa
runAsUser: 1000
runAsGroup: 1000
volumes:
# To be overriden with the actual shared volume
- name: dt-vol
Expand Down

0 comments on commit b744f2b

Please sign in to comment.