Skip to content
This repository was archived by the owner on Oct 22, 2024. It is now read-only.

Commit 100c547

Browse files
committed
Jenkinsfile: set USER=root to docker run
This to fix build failure appeared in CI after recent govm update: ----- make start tar zxf _work/govm_0.9-alpha_Linux_amd64.tar.gz -C _work/bin/ PATH="/mnt/workspace/pmem-csi_PR-461/_work/bin:$PATH" test/start-kubernetes.sh get current user: user: Current requires cgo or $USER set in environment make: *** [test/start-stop.make:13: start] Error 1 -----
1 parent 95c2ed9 commit 100c547

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Jenkinsfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -354,6 +354,7 @@ String DockerBuildArgs() {
354354
-e BUILD_IMAGE_ID=${env.CACHEBUST} \
355355
-e 'BUILD_ARGS=--cache-from ${env.BUILD_IMAGE} --cache-from ${env.PMEM_CSI_IMAGE}' \
356356
-e REGISTRY_NAME=${env.REGISTRY_NAME} \
357+
-e USER=root \
357358
-v /var/run/docker.sock:/var/run/docker.sock \
358359
-v /usr/bin/docker:/usr/bin/docker \
359360
-v `pwd`:${env.PMEM_PATH} \

0 commit comments

Comments
 (0)