move zsh to alpine

Signed-off-by: Jess Frazelle <acidburn@google.com>
This commit is contained in:
Jess Frazelle 2017-02-26 15:45:31 -08:00
parent 9220de983b
commit 38fa7f985b
No known key found for this signature in database
GPG Key ID: 18F3685C0022BFF3

View File

@ -1,13 +1,13 @@
FROM debian:stretch FROM alpine:latest
COPY ./.zshrc /root/.zshrc COPY ./.zshrc /root/.zshrc
RUN apt-get update -y \ RUN apk --no-cache add \
&& apt-get install -y zsh \ shadow \
&& rm -rf /var/lib/apt/lists/* \ zsh \
&& chsh -s /usr/bin/zsh && chsh -s /bin/zsh
ENV SHELL /usr/bin/zsh ENV SHELL /usr/bin/zsh
WORKDIR /root WORKDIR /root
ENTRYPOINT /usr/bin/zsh ENTRYPOINT /bin/zsh