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

18 lines
360 B
Docker
Raw Permalink Normal View History

2023-06-16 22:58:47 +02: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"]