Skip to content

Commit

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

COPY mount.sh /mount.sh

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

USER jovyan
USER 1000

CMD ["/mount.sh"]

0 comments on commit f98f531

Please sign in to comment.