Skip to content

CI image: build on the ServerSideUp PHP CLI image instead of the ondrej/php PPA - #22

Merged
qisthidev merged 2 commits into
mainfrom
ci/ppa-download-retry
Nov 23, 2026
Merged

qisthidev merged 2 commits into
mainfrom
ci/ppa-download-retry

Conversation

@qisthidev

@qisthidev qisthidev commented Nov 23, 2026 •

Copy link
Copy Markdown
Member

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 skipped ci / merge, so php8.5-ci still 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):

  • Extensions bcmath gd intl pcov sockets zip pdo_sqlite come from install-php-extensions in the base image (Debian packages + PECL). The build checks that each one loads, that PHP is 8.5, and that xdebug is absent.
  • Debian security updates are applied during the build, as in the runtime image.
  • The Ubuntu image's behaviour is kept: plain shell (ENTRYPOINT [], CMD ["/bin/bash"]), root user, and memory_limit=-1 (PHP_MEMORY_LIMIT=-1; the base image sets 256M).
  • Composer, Node.js 24 (NodeSource), Bun and Playwright Chromium steps are unchanged; Playwright installs its own system packages for Debian.
  • update-base-image now bumps SERVERSIDEUP_VERSION in both Dockerfiles.
  • README notes the Debian 13 base.

Compatibility. The OS of php8.5-ci changes from Ubuntu 24.04 to Debian 13. No repo in the laravolt org uses this tag in its CI. Pipelines that apt-get install extra packages in this image may need Debian package names.

Verify. ci-image (amd64|arm64) in this PR builds the image and runs ci-smoke-test.sh (php, pcov, sockets, composer, node, bun, and a Chromium screenshot).

🤖 Generated with Claude Code

qisthidev and others added 2 commits November 23, 2026 21:32
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>
@qisthidev qisthidev changed the title CI image: retry the PHP install when the PPA download server fails CI image: build on the ServerSideUp PHP CLI image instead of the ondrej/php PPA Nov 23, 2026
@qisthidev
qisthidev merged commit 5e6ecd1 into main Nov 23, 2026
7 checks passed
@qisthidev
qisthidev deleted the ci/ppa-download-retry branch November 23, 2026 15:18
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