build-support/php: fix reproducibility of buildComposerProject2

This commit is contained in:
Patka 2024-09-22 18:59:35 +02:00
parent cc2c0e99a2
commit a9d1d29522
No known key found for this signature in database

View File

@ -60,8 +60,10 @@ composerVendorBuildHook() {
echo "Executing composerVendorBuildHook"
composer \
--apcu-autoloader \
--apcu-autoloader-prefix="$(jq -r -c 'try ."content-hash"' < composer.lock)" \
# The acpu-autoloader is not reproducible and has to be disabled.
# Upstream PR: https://github.com/composer/composer/pull/12090
# --apcu-autoloader \
# --apcu-autoloader-prefix="$(jq -r -c 'try ."content-hash"' < composer.lock)" \
--no-interaction \
--no-progress \
--optimize-autoloader \