Browse Source

Use Build dependencies from ubuntu-build image

master
Johann Schmitz 1 year ago
parent
commit
6f6064ca9f
1 changed files with 1 additions and 7 deletions
  1. 1
    7
      Jenkinsfile

+ 1
- 7
Jenkinsfile View File

@@ -14,13 +14,7 @@ node('docker') {

stage('Debian packaging') {
docker.withRegistry('https://r.ercpe.de', 'docker-registry') {
def build = docker.image('r.ercpe.de/ercpe/ubuntu-build:latest');

// https://github.com/jenkinsci/docker-workflow-plugin/pull/57
build.inside('--user root:root') {
sh "apt update && apt install -y dh-python python3-all python3-setuptools"
}
build.inside {
docker.image('r.ercpe.de/ercpe/ubuntu-build:latest').inside {
sh "make deb"
}
}

Loading…
Cancel
Save