Commit baac53da authored by Harald Sitter's avatar Harald Sitter

need master and priv'd

could probably get away with master and selective --device forward, but
we can't use a slave as userns is screwing image permissions up so the
image is effectively not able to do anything if we were to switch it into
priv mode.

at the same time --device mapping apparenlty wouldn't give access either
unless one messes with the dev acls (maybe)

https://github.com/docker/docker/issues/28986
parent 7d040556
......@@ -2,7 +2,7 @@ env.DIST = 'xenial'
env.TYPE = 'user'
env.PWD_BIND = '/workspace'
cleanNode('do-gamma-amd64') {
cleanNode('master') {
ws('/tmp/kde-os-autoinst') {
stage('clone') {
git 'https://github.com/apachelogger/kde-os-autoinst'
......
......@@ -30,6 +30,6 @@ PWD_BIND = ENV.fetch('PWD_BIND', '/workspace')
c = CI::Containment.new(JOB_NAME,
image: CI::PangeaImage.new(:ubuntu, DIST),
binds: ["#{Dir.pwd}:#{PWD_BIND}"],
privileged: false)
privileged: true)
status_code = c.run(Cmd: ARGV, WorkingDir: PWD_BIND)
exit status_code
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment