add zshrc to ~user
This commit is contained in:
parent
0afda9d658
commit
833a396f29
2 changed files with 5 additions and 4 deletions
|
@ -17,9 +17,10 @@ RUN git clone https://git.zx2c4.com/password-store && \
|
|||
cd password-store && \
|
||||
make install && cd .. && \
|
||||
rm -rf password-store
|
||||
RUN addgroup user -g 1000 && \
|
||||
adduser user -G user -u 1000 -D -s /bin/zsh
|
||||
ENV LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8
|
||||
WORKDIR /root
|
||||
ADD zshrc /root/.zshrc
|
||||
RUN addgroup user -g 1000 && \
|
||||
adduser user -G user -u 1000 -D -s /bin/zsh && \
|
||||
cp /root/.zshrc /home/user/.zshrc
|
||||
ENV LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8
|
||||
CMD zsh
|
||||
|
|
2
toolbox
2
toolbox
|
@ -1 +1 @@
|
|||
docker run --rm -ti -v ${HOME}/.gnupg:/home/user/.gnupg -v ${HOME}/.ssh:/home/user/.ssh -v ${HOME}/.password-store:/home/user/.password-store hnrd/toolbox
|
||||
docker run --rm -ti -v ${HOME}/.gnupg:/home/user/.gnupg -v ${HOME}/.ssh:/home/user/.ssh -v ${HOME}/.password-store:/home/user/.password-store hnrd/toolbox su -l user
|
||||
|
|
Loading…
Reference in a new issue