File tree Expand file tree Collapse file tree 3 files changed +6
-0
lines changed Expand file tree Collapse file tree 3 files changed +6
-0
lines changed Original file line number Diff line number Diff line change 72
72
# This allows users of this container to choose, whether they want to run the container as sbtuser (non-root) or as root
73
73
USER root
74
74
RUN \
75
+ mkdir -p /home/sbtuser/.ivy2 && \
76
+ chown -R sbtuser:sbtuser /home/sbtuser/.ivy2 && \
75
77
ln -s /home/sbtuser/.cache /root/.cache && \
76
78
ln -s /home/sbtuser/.ivy2 /root/.ivy2 && \
77
79
ln -s /home/sbtuser/.sbt /root/.sbt
Original file line number Diff line number Diff line change 68
68
# This allows users of this container to choose, whether they want to run the container as sbtuser (non-root) or as root
69
69
USER root
70
70
RUN \
71
+ mkdir -p /home/sbtuser/.ivy2 && \
72
+ chown -R sbtuser:sbtuser /home/sbtuser/.ivy2 && \
71
73
ln -s /home/sbtuser/.cache /root/.cache && \
72
74
ln -s /home/sbtuser/.ivy2 /root/.ivy2 && \
73
75
ln -s /home/sbtuser/.sbt /root/.sbt
Original file line number Diff line number Diff line change 70
70
# This allows users of this container to choose, whether they want to run the container as sbtuser (non-root) or as root
71
71
USER root
72
72
RUN \
73
+ mkdir -p /home/sbtuser/.ivy2 && \
74
+ chown -R sbtuser:sbtuser /home/sbtuser/.ivy2 && \
73
75
ln -s /home/sbtuser/.cache /root/.cache && \
74
76
ln -s /home/sbtuser/.ivy2 /root/.ivy2 && \
75
77
ln -s /home/sbtuser/.sbt /root/.sbt
You can’t perform that action at this time.
0 commit comments