Skip to content

Commit ecbc41b

Browse files
committed
Arm64 build process doesn't run as root
1 parent 4f60d3e commit ecbc41b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Jenkinsfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ pipeline {
157157
// Codebase
158158
sh 'docker run --rm -v $(pwd):/app -w /app $BASE_IMAGE:arm64 yarn install'
159159
sh 'docker run --rm -v $(pwd):/app -w /app $BASE_IMAGE:arm64 npm run-script build'
160-
sh 'rm -rf node_modules'
160+
sh 'sudo rm -rf node_modules'
161161
sh 'docker run --rm -v $(pwd):/app -w /app $BASE_IMAGE:arm64 yarn install --prod'
162162

163163
// Docker Build

0 commit comments

Comments
 (0)