diff --git a/pack-with-buildkit.sh b/pack-with-buildkit.sh index 961c2ed..af5b047 100755 --- a/pack-with-buildkit.sh +++ b/pack-with-buildkit.sh @@ -45,7 +45,7 @@ fi mkdir -p cnb-build-files # Copy the files created by pack during the build from the volume and into the local directory -docker run --rm --entrypoint bash \ +docker run --rm --entrypoint bash --user root \ --volume $(pwd)/cnb-build-files:/hostmnt \ localhost:$registry_port/inline-app \ -c 'cp -R /workspace/build-files/* /hostmnt/'