aboutsummaryrefslogtreecommitdiff
path: root/docker/zulu
diff options
context:
space:
mode:
authorBen Hilburn <bhilburn@gmail.com>2017-07-12 17:27:45 +0300
committerGitHub <noreply@github.com>2017-07-12 17:27:45 +0300
commit40a12d388fa7fbb73e912cedc0a6c272ede64860 (patch)
tree26c80d671d557ec7c19fb61eeea44c98d5cc1d7d /docker/zulu
parentc88cea7f3f9983a25616317ad475759fa99ee8a1 (diff)
parent2f808f8a4e6224478e1c9efb85c1a4b3f24df087 (diff)
Merge pull request #567 from docwhat/pr/docker
test-in-docker: quickly test frameworks in docker
Diffstat (limited to 'docker/zulu')
-rw-r--r--docker/zulu/Dockerfile7
-rw-r--r--docker/zulu/install.zsh10
2 files changed, 17 insertions, 0 deletions
diff --git a/docker/zulu/Dockerfile b/docker/zulu/Dockerfile
new file mode 100644
index 00000000..880a07d0
--- /dev/null
+++ b/docker/zulu/Dockerfile
@@ -0,0 +1,7 @@
+ARG base
+FROM p9k:${base}
+
+COPY docker/zulu/install.zsh /tmp/
+RUN zsh /tmp/install.zsh
+
+COPY ./ p9k/
diff --git a/docker/zulu/install.zsh b/docker/zulu/install.zsh
new file mode 100644
index 00000000..0ad6aae3
--- /dev/null
+++ b/docker/zulu/install.zsh
@@ -0,0 +1,10 @@
+#!zsh
+
+# install zulu https://github.com/zulu-zsh/zulu
+curl -L https://git.io/zulu-install | zsh && zsh
+
+{
+echo 'zulu fpath add ~/p9k'
+echo 'zulu fpath add ~/p9k/functions'
+echo 'zulu theme powerlevel9k'
+} >> ~/.zshrc