Browse Source

Try to install build dependencies

master
Johann Schmitz 11 months ago
parent
commit
3ccfbbc9d6
1 changed files with 7 additions and 1 deletions
  1. 7
    1
      Jenkinsfile

+ 7
- 1
Jenkinsfile View File

@@ -14,7 +14,13 @@ node('docker') {
14 14
 
15 15
     stage('Debian packaging') {
16 16
         docker.withRegistry('https://r.ercpe.de', 'docker-registry') {
17
-            docker.image('r.ercpe.de/ercpe/ubuntu-build:latest').inside {
17
+            def build = docker.image('r.ercpe.de/ercpe/ubuntu-build:latest');
18
+
19
+            // https://github.com/jenkinsci/docker-workflow-plugin/pull/57
20
+            build.inside('--user root:root') {
21
+                sh "apt update && apt install -y dh-python python3-all python3-setuptools"
22
+            }
23
+            build.inside {
18 24
                 sh "make deb"
19 25
             }
20 26
         }

Loading…
Cancel
Save