File tree Expand file tree Collapse file tree 2 files changed +2
-10
lines changed
Expand file tree Collapse file tree 2 files changed +2
-10
lines changed Original file line number Diff line number Diff line change @@ -39,8 +39,4 @@ COPY entrypoint.sh /usr/local/bin/entrypoint.sh
3939RUN chmod a+x /usr/local/bin/entrypoint.sh
4040RUN mkdir /var/run/sshd
4141
42- RUN useradd --shell /bin/bash libgit2
43- RUN mkdir /home/libgit2
44- RUN chown --recursive libgit2:libgit2 /home/libgit2
45-
46- USER libgit2
42+ ENTRYPOINT ["/usr/local/bin/entrypoint.sh"]
Original file line number Diff line number Diff line change @@ -64,8 +64,4 @@ COPY entrypoint.sh /usr/local/bin/entrypoint.sh
6464RUN chmod a+x /usr/local/bin/entrypoint.sh
6565RUN mkdir /var/run/sshd
6666
67- RUN useradd --shell /bin/bash libgit2
68- RUN mkdir /home/libgit2
69- RUN chown --recursive libgit2:libgit2 /home/libgit2
70-
71- USER libgit2
67+ ENTRYPOINT ["/usr/local/bin/entrypoint.sh"]
You can’t perform that action at this time.
0 commit comments