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

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

4
docker/omz/install.zsh Normal file
View file

@ -0,0 +1,4 @@
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
mkdir -p ~/.oh-my-zsh/custom/themes
ln -nsf ~/p9k/ ~/.oh-my-zsh/custom/themes/powerlevel9k

5
docker/omz/zshrc Normal file
View file

@ -0,0 +1,5 @@
export ZSH=$HOME/.oh-my-zsh
ZSH_THEME="powerlevel9k/powerlevel9k"
plugins=(git rake ruby)
source $ZSH/oh-my-zsh.sh