Commit b0431d0b authored by nimrod's avatar nimrod
Browse files

Tweaking the Golang binaries build.

- Replace go get with go install since that's the new blessed way of
  doing things (IIUC go get is going to be deprecated eventually). Don't
change for reg since that fails to build with go install.
- Ignore failure to build keybase and kbfs. It's some Golang dependency
  issue and right now it seems like we're moving away from Keybase
altogether in work so I'm not going to invest time trying to fix this.
parent bda38ca4
Loading
Loading
Loading
Loading
Loading
+8 −8
Original line number Diff line number Diff line
@@ -238,15 +238,15 @@ RUN apt-get update && \
    export GOPATH=/usr/local/lib/go && \
    export PATH="$GOPATH/bin:$PATH" && \
    mkdir "$GOPATH" && \
    go get github.com/keybase/client/go/keybase && \
    go install -tags production github.com/keybase/client/go/keybase && \
    go get github.com/keybase/client/go/kbfs/kbfsfuse && \
    go get github.com/keybase/client/go/keybase || true && \
    go install -tags production github.com/keybase/client/go/keybase || true && \
    go get github.com/keybase/client/go/kbfs/kbfsfuse || true && \
    export GO111MODULE=on && \
    go get github.com/giantswarm/semver-bump && \
    go get github.com/nishanths/license/v5 && \
    go get github.com/spelufo/on-change && \
    go get github.com/kaorimatz/mysqldump-loader@v0.4.1 && \
    go get github.com/lucagrulla/cw && \
    go install github.com/giantswarm/semver-bump@latest && \
    go install github.com/nishanths/license/v5@latest && \
    go install github.com/spelufo/on-change@latest && \
    go install github.com/kaorimatz/mysqldump-loader@v0.4.1 && \
    go install github.com/lucagrulla/cw@latest && \
    go get github.com/genuinetools/reg@v0.16.1 && \
    wget 'https://git.shore.co.il/shore/toolbox-build/-/jobs/artifacts/master/raw/toolbox.tar.gz?job=build' -qO /tmp/toolbox.tar.gz && \
    tar -xzf /tmp/toolbox.tar.gz -C /usr/local/ && \