toolbox/Dockerfile
Christoph Gebhardt 0afda9d658 add sudo
2017-03-26 17:58:42 +02:00

25 lines
449 B
Docker

FROM alpine
RUN apk add --no-cache \
bash \
coreutils \
curl \
git \
gnupg \
make \
openssh \
socat \
sudo \
tree \
vim \
zsh
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
CMD zsh