Commit 74e9d9fe authored by nimrod's avatar nimrod
Browse files

Deal with Go's and Keybase build issues.

parent a256ba49
Loading
Loading
Loading
Loading
Loading
+5 −5
Original line number Diff line number Diff line
@@ -213,9 +213,11 @@ RUN apt-get update && \
        todoman \
        tox \
    && \
    export GOPATH=/usr/local/lib/go && \
    mkdir "$GOPATH" && \
    go get github.com/keybase/client/go/keybase && \
    go install -tags production github.com/keybase/client/go/keybase && \
    export GO111MODULE=on && \
    export GOPATH=/usr/lib/go && \
    mkdir -p "$GOPATH" && \
    go get github.com/giantswarm/semver-bump && \
    go get github.com/nishanths/license/v5 && \
    go get github.com/jmespath/jp@0.1.3 && \
@@ -224,8 +226,6 @@ RUN apt-get update && \
    go get github.com/lucagrulla/cw && \
    go get sigs.k8s.io/kind@v0.9.0 && \
    go get github.com/genuinetools/reg@v0.16.1 && \
    go get github.com/keybase/client/go/keybase && \
    go install -tags production github.com/keybase/client/go/keybase && \
    wget 'https://git.shore.co.il/shore/toolbox-build/-/jobs/artifacts/master/raw/toolbox.tar.gz?job=build' -O /tmp/toolbox.tar.gz && \
    tar -xzf /tmp/toolbox.tar.gz -C / && \
    wget https://raw.githubusercontent.com/rabbitmq/rabbitmq-server/v3.8.16/deps/rabbitmq_management/bin/rabbitmqadmin -O /usr/local/bin/rabbitmqadmin && \
@@ -253,7 +253,7 @@ COPY --chown=root:root bfg /usr/local/bin/
COPY --chown=root:root bash_completion.d/* /etc/bash_completion.d/
LABEL com.github.containers.toolbox="true" \
      com.github.debarshiray.toolbox="true"
ENV PATH /usr/lib/go/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
ENV PATH /usr/local/lib/go/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
ENV HOMEBREW_NO_AUTO_UPDATE 1
VOLUME /run/sshd
CMD ["/bin/bash"]