revert to user root

This commit is contained in:
chris 2017-03-23 14:36:39 +01:00
parent 773a946777
commit 336635c010

View file

@ -18,8 +18,7 @@ RUN git clone https://git.zx2c4.com/password-store && \
rm -rf password-store rm -rf password-store
RUN addgroup user -g 1000 && \ RUN addgroup user -g 1000 && \
adduser user -G user -u 1000 -D adduser user -G user -u 1000 -D
ENV LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 HOME=/home/user ENV LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8
WORKDIR $HOME WORKDIR /root
ADD zshrc $HOME/.zshrc ADD zshrc /root/.zshrc
USER user
CMD zsh CMD zsh