mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2025-01-30 17:13:46 +01:00
move zsh to alpine
Signed-off-by: Jess Frazelle <acidburn@google.com>
This commit is contained in:
parent
9220de983b
commit
38fa7f985b
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user