Skip to content

Commit

Permalink
Better manage user
Browse files Browse the repository at this point in the history
  • Loading branch information
enolfc committed Nov 28, 2024
1 parent f98f531 commit 5a924f5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions d4science-storage/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ RUN curl $FUSE_JAR > /sh-fuse-integration-jar-with-dependencies.jar

COPY mount.sh /mount.sh

RUN groupadd -g 100 jovyan && \
usermod -g jovyan 1000
RUN groupadd -o -g 100 jovyan \
useradd -o -u 1000 -g 100 jovyan

USER 1000
USER jovyan

CMD ["/mount.sh"]

0 comments on commit 5a924f5

Please sign in to comment.