@@ -45,7 +45,7 @@ distributions.each { distro ->
4545 buildVer = version + ' .' + env. BUILD_NUMBER + ' ~' + distroCode
4646 }
4747 stage(' Build ' + distroName) {
48- buildImage. inside(' --ipc=host -- init' ) {
48+ buildImage. inside(' --init' ) {
4949 sh ' dch -b -v ' + buildVer + ' "' + env. BUILD_TAG + ' "'
5050 sh ' sudo apt-get update --allow-releaseinfo-change'
5151 sh ' sudo DEBIAN_FRONTEND=noninteractive apt-get -y install pkg-php-tools || true'
@@ -61,7 +61,7 @@ distributions.each { distro ->
6161 }
6262
6363 stage(' Test ' + distroName) {
64- buildImage. inside(' --ipc=host -- init' ) {
64+ buildImage. inside(' --init' ) {
6565 def debconf_debug = 0 // Set to "5" or "developer" to debug debconf
6666 sh ' cd $WORKSPACE/dist/debian/ ; dpkg-scanpackages . /dev/null | gzip -9c > Packages.gz; cd $WORKSPACE'
6767 sh ' echo "deb [trusted=yes] file://///$WORKSPACE/dist/debian/ ./" | sudo tee /etc/apt/sources.list.d/local.list'
@@ -78,7 +78,7 @@ distributions.each { distro ->
7878 }
7979 stage(' Archive artifacts ' + distroName ) {
8080 // Only run if previous stages (Build and Test) succeeded
81- buildImage. inside(' --ipc=host -- init' ) {
81+ buildImage. inside(' --init' ) {
8282 // Archive all produced artifacts listed in debian/files
8383 artifacts. each { deb_file ->
8484 println " Archiving artifact: " + deb_file
0 commit comments