Open iris-garcia opened 5 years ago
Hi,@iris-garcia,could this problem be resolved? I encountered the same problem.
Hi @shiqinfeng1, yes the way I solved it was using the following docker image in the jenkins agent:
docker {
image 'techknowlogick/xgo:latest'
args '-u root:root --entrypoint=\'\''
}
Then inside this container xgo
runs fine (without the need of spawning another container).
+1
Hi,
I am facing an issue when I try to cross compile using this package in a docker in docker setup. Basically there is a jenkins container (which has access to the docker.sock) and can spawn new containers, but when I try to cross compile it fails:
Is there a way to run xgo from a docker container?
Thanks.