Change image build to go install (#8630)

This commit is contained in:
Ricardo Katz 2022-05-24 17:58:47 +01:00 committed by GitHub
parent ac60ed85ab
commit 8963ed17ee
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -49,7 +49,7 @@ ENV PATH $GOPATH/bin:/usr/local/go/bin:$PATH
RUN mkdir -p "$GOPATH/src" "$GOPATH/bin" && chmod -R 777 "$GOPATH" RUN mkdir -p "$GOPATH/src" "$GOPATH/bin" && chmod -R 777 "$GOPATH"
RUN go get github.com/onsi/ginkgo/ginkgo golang.org/x/lint/golint RUN go install github.com/onsi/ginkgo/ginkgo@v1.16.5 && go install golang.org/x/lint/golint@latest
ARG RESTY_CLI_VERSION ARG RESTY_CLI_VERSION
ARG RESTY_CLI_SHA ARG RESTY_CLI_SHA