2017-03-05 12:37:13 +00:00
|
|
|
FROM alpine
|
|
|
|
|
2017-03-07 11:36:45 +00:00
|
|
|
RUN apk add --no-cache \
|
2017-03-20 11:34:17 +00:00
|
|
|
bash \
|
2017-03-19 23:08:19 +00:00
|
|
|
coreutils \
|
2017-03-07 11:36:45 +00:00
|
|
|
curl \
|
|
|
|
git \
|
2017-03-20 11:30:13 +00:00
|
|
|
gnupg \
|
2017-03-20 11:34:17 +00:00
|
|
|
make \
|
2017-03-07 11:36:45 +00:00
|
|
|
openssh \
|
2017-03-19 23:11:54 +00:00
|
|
|
socat \
|
2017-03-20 11:34:17 +00:00
|
|
|
tree \
|
2017-03-07 11:36:45 +00:00
|
|
|
vim \
|
|
|
|
zsh
|
2017-03-20 11:38:01 +00:00
|
|
|
RUN git clone https://git.zx2c4.com/password-store && \
|
|
|
|
cd password-store && \
|
|
|
|
make install && cd .. && \
|
|
|
|
rm -rf password-store
|
2017-03-20 12:50:48 +00:00
|
|
|
RUN addgroup user -g 1000 && \
|
|
|
|
adduser user -G user -u 1000 -D
|
2017-03-23 13:36:39 +00:00
|
|
|
ENV LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8
|
|
|
|
WORKDIR /root
|
|
|
|
ADD zshrc /root/.zshrc
|
2017-03-07 11:37:23 +00:00
|
|
|
CMD zsh
|