about summary refs log tree commit diff
path: root/image/Dockerfile
blob: 12d24fffe94c7461fc2bb1b87c96e8b0b5b7f836 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
FROM alpine:3.7

ADD hashes /root/hashes
ADD https://storage.googleapis.com/kubernetes-release/release/v1.10.4/bin/linux/amd64/kubectl /usr/bin/kubectl
ADD https://github.com/tazjin/kontemplate/releases/download/v1.6.0/kontemplate-1.6.0-97bef90-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 git && \
    chmod +x /usr/bin/kubectl /usr/bin/pass && \
    tar xzvf /tmp/kontemplate.tar.gz && \
    mv kontemplate /usr/bin/kontemplate && \
    /usr/bin/kontemplate version