mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2025-03-24 06:05:19 +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
|
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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user