2019-09-04 12:38:32 +02:00
|
|
|
FROM alpine:3.10
|
2017-06-07 10:02:48 +02:00
|
|
|
|
|
|
|
ADD hashes /root/hashes
|
2019-09-04 12:38:32 +02:00
|
|
|
ADD https://storage.googleapis.com/kubernetes-release/release/v1.15.3/bin/linux/amd64/kubectl /usr/bin/kubectl
|
2019-09-04 13:05:10 +02:00
|
|
|
ADD https://github.com/tazjin/kontemplate/releases/download/v1.8.0/kontemplate-1.8.0-6c3b299-linux-amd64.tar.gz /tmp/kontemplate.tar.gz
|
2017-06-07 10:02:48 +02:00
|
|
|
|
2019-09-04 12:38:32 +02:00
|
|
|
# Pass release version is 1.7.3
|
|
|
|
ADD https://raw.githubusercontent.com/zx2c4/password-store/74fdfb5022f317ad48d449e29543710bdad1afda/src/password-store.sh /usr/bin/pass
|
2017-06-07 10:02:48 +02:00
|
|
|
|
|
|
|
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 && \
|
2018-06-09 22:04:41 +02:00
|
|
|
mv kontemplate /usr/bin/kontemplate && \
|
|
|
|
/usr/bin/kontemplate version
|