revert to user root
This commit is contained in:
parent
773a946777
commit
336635c010
1 changed files with 3 additions and 4 deletions
|
@ -18,8 +18,7 @@ RUN git clone https://git.zx2c4.com/password-store && \
|
|||
rm -rf password-store
|
||||
RUN addgroup user -g 1000 && \
|
||||
adduser user -G user -u 1000 -D
|
||||
ENV LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 HOME=/home/user
|
||||
WORKDIR $HOME
|
||||
ADD zshrc $HOME/.zshrc
|
||||
USER user
|
||||
ENV LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8
|
||||
WORKDIR /root
|
||||
ADD zshrc /root/.zshrc
|
||||
CMD zsh
|
||||
|
|
Loading…
Reference in a new issue