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
|
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
|
||||||
|
|
Loading…
Reference in a new issue