Skip to content

A build of an imported PHP repository warns on a security advisory and never stops on it - #115

Merged
paales merged 1 commit into
mainfrom
fresh-installs
Dec 2, 2026
Merged

paales merged 1 commit into
mainfrom
fresh-installs

Conversation

@paales

@paales paales commented Dec 2, 2026

Copy link
Copy Markdown
Member

Written by 🤖:

  • recipes/laravel/Dockerfile and recipes/magento/Dockerfile set COMPOSER_NO_BLOCKING=1 in the builder stage, so Composer resolves a repository without a lock and the OpenTelemetry update step also with packages that have advisories.
  • After the main composer install, composer audit --locked --no-dev --format=plain --abandoned=report --ignore-unreachable prints each advisory as a WARNING: line of the build log and never fails the build.

A Laravel 10.50.5 skeleton built at PHP 8.2 with and without a lock: both passed, and the advisories show as warnings. Before, the build without a lock failed. The Magento build file did not run locally; docker build --check reports no warnings.

The change is live through recipe versions of laravel and magento that pin its merge commit.

…code names, also a version with a security advisory, and prints the advisories of the locked packages as warnings in the build log.
@paales
paales merged commit fd313e8 into main Dec 2, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant