Remove go module workarounds

Signed-off-by: Derek McGowan <derek@mcg.dev>
This commit is contained in:
Derek McGowan
2025-07-24 13:42:54 -07:00
parent f74e5d48b3
commit 65867642d3
15 changed files with 21 additions and 93 deletions

View File

@@ -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