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/zgen/Dockerfile Normal file
View file

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

5
docker/zgen/install.zsh Normal file
View file

@ -0,0 +1,5 @@
#!/bin/zsh
git clone https://github.com/tarjoilija/zgen.git "${HOME}/.zgen"
# EOF

10
docker/zgen/zshrc Normal file
View file

@ -0,0 +1,10 @@
# load zgen
source ~/.zgen/zgen.zsh
# if the init scipt doesn't exist
if ! zgen saved; then
zgen load ~/p9k/powerlevel9k.zsh-theme
# generate the init script from plugins above
zgen save
fi