Skip to content

Commit 6f85ad6

Browse files
Replace fixed build uid with command
1 parent 82946b3 commit 6f85ad6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -926,7 +926,7 @@ release-binary: $(RELEASE_DIR)
926926
-e GOOS=$(GOOS) \
927927
-e GOARCH=$(GOARCH) \
928928
-e GOCACHE=/tmp/ \
929-
--user 1000:1000 \
929+
--user $$(id -u):$$(id -g) \
930930
-v "$$(pwd):/workspace$(DOCKER_VOL_OPTS)" \
931931
-w /workspace \
932932
golang:$(GO_VERSION) \

0 commit comments

Comments
 (0)