We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 57dbf2b commit 90e1e69Copy full SHA for 90e1e69
src/productcatalogservice/Dockerfile
@@ -14,7 +14,7 @@ RUN --mount=type=cache,target=/go/pkg/mod/ \
14
--mount=type=bind,source=./src/productcatalogservice/go.mod,target=go.mod \
15
--mount=type=bind,source=./src/productcatalogservice/tools.go,target=tools.go \
16
go mod download \
17
- && go list -e -f '{{range .Imports}}{{.}} {{end}}' tools.go | CGO_ENABLED=0 xargs go install -mod=readonly
+ && go list -e -f '{{range .Imports}}{{.}} {{end}}' tools.go | CGO_ENABLED=0 xargs go install
18
19
RUN --mount=type=cache,target=/go/pkg/mod/ \
20
--mount=type=cache,target=/root/.cache/go-build \
0 commit comments