From bebcde32c986d0d60b031af2c794f8366ba8e9d9 Mon Sep 17 00:00:00 2001 From: Yaroslav Molochko Date: Sun, 11 Mar 2018 11:44:21 +0200 Subject: [PATCH] INFRA-5643 add git-crypt and git --- Dockerfile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Dockerfile b/Dockerfile index 177c0f2..3c612fe 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,12 @@ FROM alpine RUN apk add --update curl +RUN apk --no-cache add ca-certificates git \ + && wget -q -O /etc/apk/keys/sgerrand.rsa.pub https://raw.githubusercontent.com/sgerrand/alpine-pkg-git-crypt/master/sgerrand.rsa.pub \ + && wget https://github.com/sgerrand/alpine-pkg-git-crypt/releases/download/0.6.0-r0/git-crypt-0.6.0-r0.apk \ + && apk add git-crypt-0.6.0-r0.apk \ + && rm git-crypt-0.6.0-r0.apk + RUN curl -sLo /usr/local/bin/kubectl https://storage.googleapis.com/kubernetes-release/release/$(curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt)/bin/linux/amd64/kubectl \ && chmod +x /usr/local/bin/kubectl