aboutsummaryrefslogtreecommitdiff
path: root/docker/antibody
diff options
context:
space:
mode:
authorChristian Höltje <docwhat@gerf.org>2017-07-11 01:39:55 +0300
committerChristian Höltje <docwhat@gerf.org>2017-07-12 03:41:46 +0300
commitdf318488c9bad0fae2e38c8fd57afaade295f135 (patch)
tree1580a46f9edfe65e33e4757be77ceb34acbf83fd /docker/antibody
parent3c3a86a42f6299f8ccc9af27b4cb03467cb28927 (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/antibody')
-rw-r--r--docker/antibody/Dockerfile7
-rw-r--r--docker/antibody/install.zsh1
-rw-r--r--docker/antibody/zshrc2
3 files changed, 10 insertions, 0 deletions
diff --git a/docker/antibody/Dockerfile b/docker/antibody/Dockerfile
new file mode 100644
index 00000000..9ee2e8be
--- /dev/null
+++ b/docker/antibody/Dockerfile
@@ -0,0 +1,7 @@
+FROM p9k:base
+
+COPY docker/antibody/install.zsh /tmp/
+RUN zsh /tmp/install.zsh
+
+COPY ./ p9k/
+COPY docker/antibody/zshrc .zshrc
diff --git a/docker/antibody/install.zsh b/docker/antibody/install.zsh
new file mode 100644
index 00000000..4c54fa68
--- /dev/null
+++ b/docker/antibody/install.zsh
@@ -0,0 +1 @@
+curl -sL https://git.io/antibody | bash -s
diff --git a/docker/antibody/zshrc b/docker/antibody/zshrc
new file mode 100644
index 00000000..d516b679
--- /dev/null
+++ b/docker/antibody/zshrc
@@ -0,0 +1,2 @@
+source <(antibody init)
+antibody bundle ~/p9k/