Merge branch 'master' of github.com:hnrd/toolbox
This commit is contained in:
commit
3e3127c356
2 changed files with 6 additions and 4 deletions
|
@ -9,6 +9,7 @@ RUN apk add --no-cache \
|
||||||
make \
|
make \
|
||||||
openssh \
|
openssh \
|
||||||
socat \
|
socat \
|
||||||
|
sudo \
|
||||||
tree \
|
tree \
|
||||||
vim \
|
vim \
|
||||||
zsh
|
zsh
|
||||||
|
@ -16,9 +17,10 @@ RUN git clone https://git.zx2c4.com/password-store && \
|
||||||
cd password-store && \
|
cd password-store && \
|
||||||
make install && cd .. && \
|
make install && cd .. && \
|
||||||
rm -rf 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
|
|
||||||
WORKDIR /root
|
WORKDIR /root
|
||||||
ADD zshrc /root/.zshrc
|
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
|
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