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/antigen | |
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/antigen')
-rw-r--r-- | docker/antigen/Dockerfile | 7 | ||||
-rw-r--r-- | docker/antigen/install.zsh | 12 | ||||
-rw-r--r-- | docker/antigen/zshrc | 4 |
3 files changed, 23 insertions, 0 deletions
diff --git a/docker/antigen/Dockerfile b/docker/antigen/Dockerfile new file mode 100644 index 00000000..76487678 --- /dev/null +++ b/docker/antigen/Dockerfile @@ -0,0 +1,7 @@ +FROM p9k:base + +COPY docker/antigen/install.zsh /tmp/ +RUN zsh /tmp/install.zsh + +COPY ./ p9k/ +COPY docker/antigen/zshrc .zshrc diff --git a/docker/antigen/install.zsh b/docker/antigen/install.zsh new file mode 100644 index 00000000..6bab8ab3 --- /dev/null +++ b/docker/antigen/install.zsh @@ -0,0 +1,12 @@ +#!/bin/zsh + +mkdir ~/antigen + +curl \ + -qLsSf \ + -o ~/antigen/antigen.zsh \ + https://git.io/antigen + +source ~/antigen/antigen.zsh + +# EOF diff --git a/docker/antigen/zshrc b/docker/antigen/zshrc new file mode 100644 index 00000000..0f8d4da4 --- /dev/null +++ b/docker/antigen/zshrc @@ -0,0 +1,4 @@ +source ~/antigen/antigen.zsh + +antigen theme "${HOME}/p9k" powerlevel9k --no-local-clone +antigen apply |