configs/home/.zsh/themes/spaceship-prompt/Dockerfile

18 lines
360 B
Docker
Raw Permalink Normal View History

2022-12-01 13:28:20 +01:00
FROM frapsoft/zsh
# Installing utils
RUN apk add --update --no-cache git curl
# Change workdir to root's home
WORKDIR /root
# Coppying Spaceship to the image
COPY . /spaceship
# Setting up .zshrc
RUN echo "export TERM=xterm-256color" >> /root/.zshrc
RUN echo "source spaceship/spaceship.zsh" >> /root/.zshrc
# zsh as an entrypoint
ENTRYPOINT ["/bin/zsh"]