Created
December 4, 2015 06:49
-
-
Save laurenchen0631/978e30769211311effbb to your computer and use it in GitHub Desktop.
Docker Ubuntu with prezto zsh
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| FROM ubuntu:latest | |
| RUN apt-get update && apt-get -y upgrade && apt-get install -y \ | |
| git \ | |
| zsh \ | |
| vim \ | |
| && apt-get clean \ | |
| && rm -rf /var/lib/apt/lists/* | |
| RUN git clone --recursive https://github.com/sorin-ionescu/prezto.git "${ZDOTDIR:-$HOME}/.zprezto" | |
| COPY ./.zshrc / | |
| RUN chsh -s /bin/zsh | |
| RUN /bin/zsh -c "source /.zshrc" | |
| RUN sed -ri "s/theme 'sorin'/theme 'skwp'/g" ~/.zpreztorc | |
| RUN sed -ri "s/'prompt'/'prompt' 'syntax-highlighting' 'history-substring-search' 'git'/g" ~/.zpreztorc | |
| RUN zsh | |
| CMD ["zsh"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment