diff options
author | Christian Höltje <docwhat@gerf.org> | 2017-07-11 01:39:55 +0300 |
---|---|---|
committer | Christian Höltje <docwhat@gerf.org> | 2017-07-12 03:41:46 +0300 |
commit | df318488c9bad0fae2e38c8fd57afaade295f135 (patch) | |
tree | 1580a46f9edfe65e33e4757be77ceb34acbf83fd /docker/omz | |
parent | 3c3a86a42f6299f8ccc9af27b4cb03467cb28927 (diff) |
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.
Diffstat (limited to 'docker/omz')
-rw-r--r-- | docker/omz/Dockerfile | 7 | ||||
-rw-r--r-- | docker/omz/install.zsh | 4 | ||||
-rw-r--r-- | docker/omz/zshrc | 5 |
3 files changed, 16 insertions, 0 deletions
diff --git a/docker/omz/Dockerfile b/docker/omz/Dockerfile new file mode 100644 index 00000000..f839fba8 --- /dev/null +++ b/docker/omz/Dockerfile @@ -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/ diff --git a/docker/omz/install.zsh b/docker/omz/install.zsh new file mode 100644 index 00000000..e2cdfa96 --- /dev/null +++ b/docker/omz/install.zsh @@ -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 diff --git a/docker/omz/zshrc b/docker/omz/zshrc new file mode 100644 index 00000000..9e798e2d --- /dev/null +++ b/docker/omz/zshrc @@ -0,0 +1,5 @@ +export ZSH=$HOME/.oh-my-zsh +ZSH_THEME="powerlevel9k/powerlevel9k" +plugins=(git rake ruby) + +source $ZSH/oh-my-zsh.sh |