From 6647c4cbb6feeb9617116ae66a10570bf63e8fb5 Mon Sep 17 00:00:00 2001 From: Jamie Curnow Date: Tue, 8 May 2018 10:37:26 +1000 Subject: [PATCH] Added docker experimental features --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index a586bd91..48c32ae3 100644 --- a/Jenkinsfile +++ b/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') {