Arm64 build process doesn't run as root
This commit is contained in:
parent
4f60d3e7df
commit
ecbc41b622
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user