Commit c16ba496 by Edward Thomson

yo

parent d1f3933e
...@@ -39,8 +39,4 @@ COPY entrypoint.sh /usr/local/bin/entrypoint.sh ...@@ -39,8 +39,4 @@ COPY entrypoint.sh /usr/local/bin/entrypoint.sh
RUN chmod a+x /usr/local/bin/entrypoint.sh RUN chmod a+x /usr/local/bin/entrypoint.sh
RUN mkdir /var/run/sshd RUN mkdir /var/run/sshd
RUN useradd --shell /bin/bash libgit2 ENTRYPOINT ["/usr/local/bin/entrypoint.sh"]
RUN mkdir /home/libgit2
RUN chown --recursive libgit2:libgit2 /home/libgit2
USER libgit2
...@@ -64,8 +64,4 @@ COPY entrypoint.sh /usr/local/bin/entrypoint.sh ...@@ -64,8 +64,4 @@ COPY entrypoint.sh /usr/local/bin/entrypoint.sh
RUN chmod a+x /usr/local/bin/entrypoint.sh RUN chmod a+x /usr/local/bin/entrypoint.sh
RUN mkdir /var/run/sshd RUN mkdir /var/run/sshd
RUN useradd --shell /bin/bash libgit2 ENTRYPOINT ["/usr/local/bin/entrypoint.sh"]
RUN mkdir /home/libgit2
RUN chown --recursive libgit2:libgit2 /home/libgit2
USER libgit2
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment