There was an error while loading. Please reload this page.
1 parent ad9e17e commit 64a9b74Copy full SHA for 64a9b74
1 file changed
docker/entrypoint.sh
@@ -297,7 +297,7 @@ verify_output "$DEST_DIR"
297
298
# Fix ownership of generated files for host user access
299
if [[ -n "${HOST_UID:-}" ]] && [[ -n "${HOST_GID:-}" ]]; then
300
- find /docker \( -type f -o -type d \) -user root -exec chown "$HOST_UID:$HOST_GID" {} +
+ find /docker \( -type f -o -type d \) -user root -not -path "/docker/.git/*" -exec chown "$HOST_UID:$HOST_GID" {} + 2>/dev/null || true
301
fi
302
303
log_info "Build process completed successfully"
0 commit comments