From 74cbc46cbbcf2a38fe5d57b392d33d0cd9dc4b35 Mon Sep 17 00:00:00 2001 From: Mark Menger <51541068+mjmenger@users.noreply.github.com> Date: Thu, 11 Aug 2022 10:51:23 -0700 Subject: [PATCH] Update Dockerfile-ca fixes #105 as described by @cjbirk in https://github.com/keybase/bot-sshca/issues/105#issuecomment-1183931255 testing was limited to one environment with Ubuntu 20.04 --- docker/Dockerfile-ca | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/docker/Dockerfile-ca b/docker/Dockerfile-ca index 47ba4a6..211c3fb 100644 --- a/docker/Dockerfile-ca +++ b/docker/Dockerfile-ca @@ -8,13 +8,12 @@ RUN apk update && apk add --no-cache go curl git musl-dev gcc # build keybase binary WORKDIR /go ENV GOPATH=/go -ENV KEYBASE_VERSION=5.4.0 -RUN go get -d github.com/keybase/client/go/keybase -RUN cd src/github.com/keybase/client/go/keybase && git checkout v$KEYBASE_VERSION -RUN go install -tags production github.com/keybase/client/go/keybase +ENV KEYBASE_VERSION=6.0.2 +RUN git clone https://github.com/keybase/client.git +RUN cd client/go && go install -tags production github.com/keybase/client/go/keybase # build kbfsfuse binary (we won't use FUSE but the bot needs KBFS for exchanging Team config files) -RUN go install -tags production github.com/keybase/client/go/kbfs/kbfsfuse +RUN cd client/go/kbfs/kbfsfuse && go install -tags production github.com/keybase/client/go/kbfs/kbfsfuse # build keybaseca WORKDIR /bot-sshca