From ed2a4e2bfbcb9ee059fd2f113b2930890c9de0cd Mon Sep 17 00:00:00 2001 From: "Grzegorz Bazior (Yodiss PSA)" Date: Tue, 6 Feb 2024 06:05:42 +0100 Subject: [PATCH] Trying to add some command to Dockerfile to fix Golang dependencies v2 Signed-off-by: Grzegorz Bazior (Yodiss PSA) --- docker/iroha-builder/Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/docker/iroha-builder/Dockerfile b/docker/iroha-builder/Dockerfile index 1ec6acd4929..15ac01f41eb 100644 --- a/docker/iroha-builder/Dockerfile +++ b/docker/iroha-builder/Dockerfile @@ -45,6 +45,7 @@ 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 download github.com/golang/protobuf RUN export PATH="$PATH:$(go env GOPATH)/bin" # according to: https://grpc.io/docs/languages/go/quickstart/ ## Rust-lang stuff for iroha+ursa