Skip to content

Commit 2db955c

Browse files
authored
Merge pull request #8223 from killianmuldoon/pr-fix-uid
🐛 Replace fixed build uid with command
2 parents 82946b3 + 6f85ad6 commit 2db955c

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)