2018-03-17 23:13:36 +01:00
|
|
|
FROM alpine:3.7
|
2017-06-07 10:02:48 +02:00
|
|
|
|
|
|
|
ADD hashes /root/hashes
|
2018-05-08 11:49:29 +02:00
|
|
|
ADD https://storage.googleapis.com/kubernetes-release/release/v1.10.2/bin/linux/amd64/kubectl /usr/bin/kubectl
|
|
|
|
ADD https://github.com/tazjin/kontemplate/releases/download/v1.5.0/kontemplate-1.5.0-c68518d-linux-amd64.tar.gz /tmp/kontemplate.tar.gz
|
2017-06-07 10:02:48 +02:00
|
|
|
|
|
|
|
# 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 && \
|
2017-11-16 15:08:32 +01:00
|
|
|
apk add -U bash tree gnupg git && \
|
2017-06-07 10:02:48 +02:00
|
|
|
chmod +x /usr/bin/kubectl /usr/bin/pass && \
|
|
|
|
tar xzvf /tmp/kontemplate.tar.gz && \
|
|
|
|
mv kontemplate /usr/bin/kontemplate
|