Skip to content

Commit a8b85e7

Browse files
implement feedback
1 parent 914cd21 commit a8b85e7

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Makefile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1124,8 +1124,7 @@ release-binary: $(RELEASE_DIR)
11241124
-e GOCACHE=/go/build-cache/ \
11251125
--user $$(id -u):$$(id -g) \
11261126
-v "$$(pwd):/workspace$(DOCKER_VOL_OPTS)" \
1127-
-v "$$(go env GOMODCACHE):/go/pkg/mod" \
1128-
-v "$$(go env GOCACHE):/go/build-cache" \
1127+
-v "$$(go env GOMODCACHE):/go/pkg/mod$(DOCKER_VOL_OPTS)" \
11291128
-w /workspace \
11301129
golang:$(GO_VERSION) \
11311130
go build -a -trimpath -gcflags "$(GCFLAGS)" -ldflags "$(LDFLAGS) -extldflags '-static'" \

0 commit comments

Comments
 (0)