Browse Source

Added docker experimental features

Jamie Curnow 7 years ago
parent
commit
6647c4cbb6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Jenkinsfile

+ 1 - 1
Jenkinsfile

@@ -23,7 +23,7 @@ pipeline {
         sh 'rm -rf node_modules'
         sh 'docker run --rm -v $(pwd)/manager:/srv/manager -w /srv/manager jc21/$IMAGE_NAME-base yarn --registry=$NPM_REGISTRY install --prod'
         sh 'docker run --rm -v $(pwd)/manager:/data $DOCKER_CI_TOOLS node-prune'
-        sh 'docker build -t $TEMP_IMAGE_NAME .'
+        sh 'docker build --squash --compress -t $TEMP_IMAGE_NAME .'
       }
     }
     stage('Publish') {