Skip to content

Commit

Permalink
Remove redundant permission docker run
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisvanrun committed Jan 10, 2025
1 parent 0d2000f commit 831b9a5
Showing 1 changed file with 0 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -69,16 +69,6 @@ docker run --rm \
$DOCKER_IMAGE_TAG
docker volume rm "$DOCKER_NOOP_VOLUME" > /dev/null

# Ensure permissions are set correctly on the output
# This allows the host user (e.g. you) to access and handle these files
docker run --rm \
--quiet \
--env HOST_UID=`id -u` \
--env HOST_GID=`id -g` \
--volume "$OUTPUT_DIR":/output \
alpine:latest \
/bin/sh -c 'chown -R ${HOST_UID}:${HOST_GID} /output'

echo "=+= Wrote results to ${OUTPUT_DIR}"

echo "=+= Save this image for uploading via ./do_save.sh \"${DOCKER_IMAGE_TAG}\""

0 comments on commit 831b9a5

Please sign in to comment.