Skip to content

Commit

Permalink
update: open root group to the same permission as owner (opendatahub-…
Browse files Browse the repository at this point in the history
…io#1182)

- in this case, we will get '-rw-rw-r--'
- non-1001 users can run as user for operator pod

Signed-off-by: Wen Zhou <wenzhou@redhat.com>
  • Loading branch information
zdtsw authored Aug 16, 2024
1 parent d84cd33 commit 79c6842
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfiles/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ COPY --from=builder /workspace/manager .
COPY --chown=1001:0 --from=builder /opt/manifests /opt/manifests
# Recursive change all files
RUN chown -R 1001:0 /opt/manifests &&\
chmod -R a+r /opt/manifests
chmod -R g=u /opt/manifests
USER 1001

ENTRYPOINT ["/manager"]

0 comments on commit 79c6842

Please sign in to comment.