Skip to content

Commit

Permalink
Change user when copying files out of image
Browse files Browse the repository at this point in the history
  • Loading branch information
jericop committed Mar 21, 2024
1 parent 9ac099b commit 9498083
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pack-with-buildkit.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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/'
Expand Down

0 comments on commit 9498083

Please sign in to comment.