docker issue with "go get" (#4283)

pull/4287/head
Socheat KHAUV 2 years ago committed by GitHub
parent 0425c7c1df
commit 85d54efaec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 16
      Dockerfile

@ -49,14 +49,14 @@ RUN touch /root/.bash_profile && \
ENV PATH="/root/.gimme/versions/go${GIMME_GO_VERSION}.linux.${TARGETARCH:-amd64}/bin:${GOPATH}/bin:${PATH}"
RUN . ~/.bash_profile; \
go get -u golang.org/x/tools/cmd/goimports; \
go get -u golang.org/x/lint/golint ; \
go get -u github.com/rogpeppe/godef ; \
go get -u github.com/go-delve/delve/cmd/dlv; \
go get -u github.com/golang/mock/mockgen; \
go get -u github.com/stamblerre/gocode; \
go get -u golang.org/x/tools/...; \
go get -u honnef.co/go/tools/cmd/staticcheck/...
go install golang.org/x/tools/cmd/goimports; \
go install golang.org/x/lint/golint ; \
go install github.com/rogpeppe/godef ; \
go install github.com/go-delve/delve/cmd/dlv; \
go install github.com/golang/mock/mockgen; \
go install github.com/stamblerre/gocode; \
go install golang.org/x/tools/...; \
go install honnef.co/go/tools/cmd/staticcheck/...
WORKDIR ${HMY_PATH}/harmony

Loading…
Cancel
Save