mirror of
https://github.com/moby/moby.git
synced 2026-01-11 18:51:37 +00:00
Remove go module workarounds
Signed-off-by: Derek McGowan <derek@mcg.dev>
This commit is contained in:
@@ -35,12 +35,12 @@ FROM base AS tools
|
||||
RUN --mount=from=src,source=/out,target=.,rw \
|
||||
--mount=type=cache,target=/root/.cache/go-build <<EOT
|
||||
set -ex
|
||||
./hack/with-go-mod.sh go install -v -mod=vendor -modfile=vendor.mod \
|
||||
go install -v \
|
||||
github.com/gogo/protobuf/protoc-gen-gogo \
|
||||
github.com/gogo/protobuf/protoc-gen-gogofaster \
|
||||
github.com/gogo/protobuf/protoc-gen-gogoslick \
|
||||
github.com/golang/protobuf/protoc-gen-go
|
||||
./hack/with-go-mod.sh go build -v -mod=vendor -modfile=vendor.mod \
|
||||
go build -v \
|
||||
-o /usr/bin/pluginrpc-gen \
|
||||
./pkg/plugins/pluginrpc-gen
|
||||
EOT
|
||||
|
||||
Reference in New Issue
Block a user