Arm64 build process doesn't run as root

This commit is contained in:
Jamie Curnow 2019-02-18 21:14:26 +10:00
parent 4f60d3e7df
commit ecbc41b622

2
Jenkinsfile vendored
View File

@ -157,7 +157,7 @@ pipeline {
// Codebase
sh 'docker run --rm -v $(pwd):/app -w /app $BASE_IMAGE:arm64 yarn install'
sh 'docker run --rm -v $(pwd):/app -w /app $BASE_IMAGE:arm64 npm run-script build'
sh 'rm -rf node_modules'
sh 'sudo rm -rf node_modules'
sh 'docker run --rm -v $(pwd):/app -w /app $BASE_IMAGE:arm64 yarn install --prod'
// Docker Build