about summary refs log tree commit diff
path: root/image/Dockerfile
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@gmail.com>2017-06-07T08·02+0200
committerVincent Ambo <tazjin@gmail.com>2017-06-07T08·05+0200
commitd76ea59f4c9dcdaace382568d2a4037ccce1ccba (patch)
tree6e795136b333f309f2c10f68f76d4ff461234d1e /image/Dockerfile
parent9923b1e64d5e0a096353b06db6b132b4e4331e25 (diff)
feat image: Add Dockerfile for CI pipeline image
Adds a simple Docker image that can be used in CI pipelines to deploy
`kontemplate`-based environments.

This image contains kontemplate and all of its dependencies (including
pass as an optional dependency).
Diffstat (limited to 'image/Dockerfile')
-rw-r--r--image/Dockerfile14
1 files changed, 14 insertions, 0 deletions
diff --git a/image/Dockerfile b/image/Dockerfile
new file mode 100644
index 000000000000..90a3385dd00d
--- /dev/null
+++ b/image/Dockerfile
@@ -0,0 +1,14 @@
+FROM alpine:3.6
+
+ADD hashes /root/hashes
+ADD https://storage.googleapis.com/kubernetes-release/release/v1.6.4/bin/linux/amd64/kubectl /usr/bin/kubectl
+ADD https://github.com/tazjin/kontemplate/releases/download/v1.0.2/kontemplate-1.0.2-f79b261-linux-amd64.tar.gz /tmp/kontemplate.tar.gz
+
+# Pass release version is 1.7.1
+ADD https://raw.githubusercontent.com/zx2c4/password-store/38ec1c72e29c872ec0cdde82f75490640d4019bf/src/password-store.sh /usr/bin/pass
+
+RUN sha256sum -c /root/hashes && \
+    apk add -U bash tree gnupg && \
+    chmod +x /usr/bin/kubectl /usr/bin/pass && \
+    tar xzvf /tmp/kontemplate.tar.gz && \
+    mv kontemplate /usr/bin/kontemplate