Repository navigation
CI image: build on the ServerSideUp PHP CLI image instead of the ondrej/php PPA - #22
Merged
Merged
Conversation
The 23 Nov scheduled publish failed in both CI image builds: the ondrej/php download server answered 503 for longer than apt's own retries, so the php8.5-ci tag was not refreshed. Retry apt-get update + install after 2, 4 and 6 minutes before failing the build. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The ondrej/php PPA download server kept answering 503 (16 Nov, 23 Nov, and for more than 20 minutes during the retries of the previous commit), so the php8.5-ci tag missed two weekly refreshes. Build the CI image on serversideup/php:8.5-cli-trixie at the same release as the runtime image, add the extensions with install-php-extensions (Debian packages + PECL), and keep the plain shell and root user of the old image. update-base-image now bumps both Dockerfiles. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem. The CI image (
php8.5-ci) installs PHP from the ondrej/php PPA on Ubuntu 24.04. The PPA's download server (ppa.launchpadcontent.net) has failed the build repeatedly: the Launchpad API timed out on 16 Nov, and the download server answered 503 on 23 Nov (scheduled publish run 45169611636). On this PR's first commit it answered 503 for more than 20 minutes, through all four retries with 2–6 minute waits. Both weekly publishes skippedci / merge, sophp8.5-cistill points at the 17 Nov build.Change. Build the CI image on
serversideup/php:8.5-cli-trixie-v5.1.2, the same ServerSideUp release as the runtime image (src/Dockerfile):bcmath gd intl pcov sockets zip pdo_sqlitecome frominstall-php-extensionsin the base image (Debian packages + PECL). The build checks that each one loads, that PHP is 8.5, and that xdebug is absent.ENTRYPOINT [],CMD ["/bin/bash"]), root user, andmemory_limit=-1(PHP_MEMORY_LIMIT=-1; the base image sets 256M).update-base-imagenow bumpsSERVERSIDEUP_VERSIONin both Dockerfiles.Compatibility. The OS of
php8.5-cichanges from Ubuntu 24.04 to Debian 13. No repo in the laravolt org uses this tag in its CI. Pipelines thatapt-get installextra packages in this image may need Debian package names.Verify.
ci-image (amd64|arm64)in this PR builds the image and runsci-smoke-test.sh(php, pcov, sockets, composer, node, bun, and a Chromium screenshot).🤖 Generated with Claude Code