move common parts to netdisco-base

This commit is contained in:
Oliver Gorwits
2018-01-13 08:52:33 +00:00
parent c7b2b7be05
commit 3918913b18
4 changed files with 3 additions and 11 deletions

View File

@@ -39,4 +39,7 @@ RUN mkdir $NETDISCO_HOME/bin && \
ENV PATH $NETDISCO_HOME/bin:$PATH
ENV SHELL "/bin/bash"
VOLUME ["/home/netdisco/environments", "/home/netdisco/nd-site-local"]
USER netdisco:netdisco
WORKDIR $NETDISCO_HOME
CMD ["bash"]