fix(docker-base): skip curl include symlink when target already exists#19
Conversation
The curl header symlink step copied from the official php image fails in dunglas/frankenphp:1-builder-php8.5 because /usr/local/include/curl already exists there, aborting the php-recompile stage under set -e: ln: failed to create symbolic link '/usr/local/include/curl': File exists Guard on the target path as well, so the ln is skipped when the builder image already provides the include directory.
The CodeQL upload-sarif action now rejects SARIF files that contain
multiple runs sharing the same category (derived from
automationDetails.id), blocking the required "Codacy Security Scan"
check with:
The CodeQL Action does not support uploading multiple SARIF runs
with the same category. Please update your workflow to upload a
single run per category.
Insert a jq post-processing step between the Codacy analysis and the
upload to stamp each run with a unique automationDetails.id
("codacy-run-0", "codacy-run-1", …). The expression is a no-op on
single-run SARIF files.
Ref: https://github.blog/changelog/2025-07-21-code-scanning-will-stop-combining-multiple-sarif-runs-uploaded-in-the-same-sarif-file/
|
You are seeing this message because GitHub Code Scanning has recently been set up for this repository, or this pull request contains the workflow file for the Code Scanning tool. What Enabling Code Scanning Means:
For more information about GitHub Code Scanning, check out the documentation. |
7 similar comments
|
You are seeing this message because GitHub Code Scanning has recently been set up for this repository, or this pull request contains the workflow file for the Code Scanning tool. What Enabling Code Scanning Means:
For more information about GitHub Code Scanning, check out the documentation. |
|
You are seeing this message because GitHub Code Scanning has recently been set up for this repository, or this pull request contains the workflow file for the Code Scanning tool. What Enabling Code Scanning Means:
For more information about GitHub Code Scanning, check out the documentation. |
|
You are seeing this message because GitHub Code Scanning has recently been set up for this repository, or this pull request contains the workflow file for the Code Scanning tool. What Enabling Code Scanning Means:
For more information about GitHub Code Scanning, check out the documentation. |
|
You are seeing this message because GitHub Code Scanning has recently been set up for this repository, or this pull request contains the workflow file for the Code Scanning tool. What Enabling Code Scanning Means:
For more information about GitHub Code Scanning, check out the documentation. |
|
You are seeing this message because GitHub Code Scanning has recently been set up for this repository, or this pull request contains the workflow file for the Code Scanning tool. What Enabling Code Scanning Means:
For more information about GitHub Code Scanning, check out the documentation. |
|
You are seeing this message because GitHub Code Scanning has recently been set up for this repository, or this pull request contains the workflow file for the Code Scanning tool. What Enabling Code Scanning Means:
For more information about GitHub Code Scanning, check out the documentation. |
|
You are seeing this message because GitHub Code Scanning has recently been set up for this repository, or this pull request contains the workflow file for the Code Scanning tool. What Enabling Code Scanning Means:
For more information about GitHub Code Scanning, check out the documentation. |
The curl header symlink step copied from the official php image fails
in dunglas/frankenphp:1-builder-php8.5 because /usr/local/include/curl
already exists there, aborting the php-recompile stage under set -e:
ln: failed to create symbolic link '/usr/local/include/curl': File exists
Guard on the target path as well, so the ln is skipped when the
builder image already provides the include directory.
Fixes the image-base-build failure from run 26995756119.