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
RUN apt-get update -y \
&& apt-get install -y zsh \
&& rm -rf /var/lib/apt/lists/* \
&& chsh -s /usr/bin/zsh
RUN apk --no-cache add \
shadow \
zsh \
&& chsh -s /bin/zsh
ENV SHELL /usr/bin/zsh
WORKDIR /root
ENTRYPOINT /usr/bin/zsh
ENTRYPOINT /bin/zsh