Hi,

I successfully run following docker command locally:

docker run -it -v /usr/bin/qemu-arm-static:/usr/bin/qemu-arm-static 
arm32v7/debian:jessie /bin/bash

But Jenkins has a default docker run command in the pipleline:

docker run -t -d -u 1000:1000 -w 
/var/jenkins_home/workspace/jenkinsbuild-GKBECTLK5VFZTEERVIZTJXC7I72XPCA26MJCHUVG63SOLTV6KNUA
 
--volumes-from 
f8ef7502d1b87996312d6a5fc40804a0f998179adcd627265cd6e5449f2a17af -e 
******** -e ******** -e ******** -e ******** -e ******** -e ******** -e 
******** -e ******** -e ******** -e ******** -e ******** -e ******** -e 
******** -e ******** -e ******** -e ******** -e ******** -e ******** -e 
******** -e ******** -e ******** -e ******** -e ******** -e ******** -e 
******** -e ******** --entrypoint cat builddockerimage

How can I change the Jenkins docker run default command to add "-v 
/usr/bin/qemu-arm-static:/usr/bin/qemu-arm-static"? To give the background 
reason why I need to add qemu is because Jenkins failed to run shell 
/bin/sh or /bin/bash in ARM Docker Image. Are there any Jenkins plubin to 
fix the pipleline to run ARM Docker Image?

Thank you


-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/deda02f0-ee0a-441c-a501-6cd396d5de73%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to