Skip to content

Commit

Permalink
Trying something else to fix dependencies: go mod init
Browse files Browse the repository at this point in the history
Signed-off-by: Grzegorz Bazior (Yodiss PSA) <[email protected]>
  • Loading branch information
Grzegorz Bazior (Yodiss PSA) committed Feb 6, 2024
1 parent d8b3a9e commit 8d0a07f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docker/develop/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ ENV GOPATH=/opt/gopath
RUN mkdir ${GOPATH}
ENV PATH=${PATH}:/opt/go/bin:${GOPATH}/bin
RUN go get github.com/golang/protobuf/protoc-gen-go
RUN go mod tidy -e # according to: https://stackoverflow.com/questions/67203641/missing-go-sum-entry-for-module-providing-package-package-name
RUN export PATH="$PATH:$(go env GOPATH)/bin" # according to: https://grpc.io/docs/languages/go/quickstart/
RUN go mod init # according to: https://golangdocs.com/create-go-modules

## pip3 contains fresher versions of packages than apt
RUN pip3 install --no-cache-dir cmake ninja
Expand Down
2 changes: 1 addition & 1 deletion docker/iroha-builder/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ ENV GOPATH=/opt/gopath
RUN mkdir ${GOPATH}
ENV PATH=${PATH}:/opt/go/bin:${GOPATH}/bin
RUN go get github.com/golang/protobuf/protoc-gen-go
RUN go mod tidy -e # according to: https://stackoverflow.com/questions/67203641/missing-go-sum-entry-for-module-providing-package-package-name
RUN export PATH="$PATH:$(go env GOPATH)/bin" # according to: https://grpc.io/docs/languages/go/quickstart/
RUN go mod init # according to: https://golangdocs.com/create-go-modules

## Rust-lang stuff for iroha+ursa
ENV RUSTUP_HOME=/opt/rust
Expand Down

0 comments on commit 8d0a07f

Please sign in to comment.