Added docker experimental features

This commit is contained in:
Jamie Curnow 2018-05-08 10:37:26 +10:00
parent a892f0688e
commit 6647c4cbb6

2
Jenkinsfile vendored
View File

@ -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') {