test-in-docker: quickly test frameworks in docker

This adds `./test-in-docker` for quickly playing with various frameworks.

All the containers are based off Ubuntu 14.04 which has ZSH 5.0.2.

Thanks to @dritter for figuring out all the framework installation
methods.
This commit is contained in:
Christian Höltje 2017-07-10 18:39:55 -04:00 committed by Christian Höltje
commit df318488c9
33 changed files with 336 additions and 3 deletions

7
docker/zpm/Dockerfile Normal file
View file

@ -0,0 +1,7 @@
FROM p9k:base
COPY docker/zpm/install.zsh /tmp/
RUN zsh /tmp/install.zsh
COPY ./ p9k/
COPY docker/zpm/zshrc .zshrc

6
docker/zpm/install.zsh Normal file
View file

@ -0,0 +1,6 @@
# install zpm
git clone --recursive https://github.com/zpm-zsh/zpm.git ~/.zpm
# Install powerlevel9k
mkdir ~/.zpm/plugins/powerlevel9k
ln -s ~/p9k/powerlevel9k.zsh-theme ~/.zpm/plugins/powerlevel9k/powerlevel9k.plugin.zsh

3
docker/zpm/zshrc Normal file
View file

@ -0,0 +1,3 @@
source ~/.zpm/zpm.zsh
zpm load powerlevel9k