Repository navigation
Conversation
Signed-off-by: YvesCesar <yvesamorim73@gmail.com>
|
Please make both dependencies automatically maintainable in
Add Update the Bats policy test and validate Renovate extraction/update plus both PHP image builds. |
Summary
The PHP images run two installers downloaded at build time without any verification:
install-php-extensionsfrom thelatestrelease and the nvm installer from themasterbranch, piped intobash. The nginx image was built from the floatingnginx:alpinetag and is republished every night. A change upstream would end up in the published:latestimages without any review in this repository.This change:
install-php-extensions2.13.2 and the nvm v0.41.0 installer withADD --checksum, so the build fails if the content differs from the pinned SHA-256. The nvm installer is no longer piped into a shell.nginx:1.31.8-alpineby digest, which Dependabot already tracks under/.docker/.Validation
tests/proxy/compose-policy.batsfails onmainand passes with this change; the rest of the file still passes.Dockerfile.php83andDockerfile.nginxlocally: the PHP image installs the same 59 PHP modules and Node 24 with npm and nvm 0.41.0, and the installers are not left in the image.