Skip to content

Commit

Permalink
ci: use runAsUser: 0 instead of privileged: true
Browse files Browse the repository at this point in the history
It's the same thing for now for backwards compatibility, but privileged
has a different connotation from "running as uid 0". See for details:
coreos/coreos-ci-lib#3
  • Loading branch information
jlebon committed Oct 31, 2019
1 parent f82019a commit e11ca0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .cci.jenkinsfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
@Library('github.com/coreos/coreos-ci-lib@master') _

coreos.pod([image: 'registry.fedoraproject.org/fedora:30', privileged: true, kvm: true]) {
coreos.pod([image: 'registry.fedoraproject.org/fedora:30', runAsUser: 0, kvm: true]) {
checkout scm

stage("Build") {
Expand Down

0 comments on commit e11ca0b

Please sign in to comment.