Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
fx/php: install PHP 8.5 from Ubuntu, drop dead ondrej PPA
The base image moved to Ubuntu resolute. The ondrej PPA has no
release for it. All PHP 8.5 packages are in the Ubuntu archive.
php8.5-imap is dropped: the extension left PHP core in 8.4 and
has no package.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01S9abShYK5RMmbeuZurGH3b
  • Loading branch information
claude committed Aug 10, 2026
commit 7db1dea7578598a749f92b1c92433194f7d9cc83
8 changes: 3 additions & 5 deletions fx/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,9 @@ RUN \
# REPOS ####################################################################
# Add all package repos first, then do a single apt-get update
apt-get update && \
apt-get install -y --no-install-recommends curl wget software-properties-common gpg && \
apt-get install -y --no-install-recommends curl wget gpg && \
# Node repo
curl -fsSL "https://deb.nodesource.com/setup_${NODE_VERSION}.x" | bash - && \
# PHP repo
add-apt-repository -y ppa:ondrej/php && \
# GitHub CLI repo
wget -qO /tmp/githubcli-archive-keyring.gpg https://cli.github.com/packages/githubcli-archive-keyring.gpg && \
mkdir -p -m 755 /etc/apt/keyrings && \
Expand All @@ -44,7 +42,7 @@ RUN \
# Node
nodejs \
# PHP
php8.5-cli php8.5-common php8.5-curl php8.5-gd php8.5-imap php8.5-intl \
php8.5-cli php8.5-common php8.5-curl php8.5-gd php8.5-intl \
php8.5-mailparse php8.5-mbstring php8.5-mysql php8.5-pgsql php8.5-phpdbg \
php8.5-readline php8.5-redis php8.5-soap php8.5-sqlite3 php8.5-xml \
php8.5-zip php8.5-bcmath php8.5-apcu php8.5-imagick \
Expand Down Expand Up @@ -124,7 +122,7 @@ RUN \
# CLEANUP ###################################################################
apt-get clean -y && \
apt-get autoclean -y && \
apt-get remove -y wget software-properties-common && \
apt-get remove -y wget && \
apt-get autoremove -y && \
rm -rf /var/lib/apt/lists/* /var/lib/log/* /tmp/* /var/tmp/* \
/root/.npm /root/.cache /root/.local /root/.opencode /root/.bun
Expand Down
8 changes: 3 additions & 5 deletions php/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,9 @@ USER root
RUN \
# REPOS ####################################################################
apt-get update && \
apt-get install -y --no-install-recommends curl wget software-properties-common gpg && \
apt-get install -y --no-install-recommends curl wget gpg && \
# Node repo (needed for npm tools)
curl -fsSL "https://deb.nodesource.com/setup_${NODE_VERSION}.x" | bash - && \
# PHP repo
add-apt-repository -y ppa:ondrej/php && \
# GitHub CLI repo
wget -qO /tmp/githubcli-archive-keyring.gpg https://cli.github.com/packages/githubcli-archive-keyring.gpg && \
mkdir -p -m 755 /etc/apt/keyrings && \
Expand All @@ -25,7 +23,7 @@ RUN \
apt-get install -y --no-install-recommends \
git jq ripgrep tmux nodejs \
# PHP
php8.5-cli php8.5-common php8.5-curl php8.5-gd php8.5-imap php8.5-intl \
php8.5-cli php8.5-common php8.5-curl php8.5-gd php8.5-intl \
php8.5-mailparse php8.5-mbstring php8.5-mysql php8.5-pgsql php8.5-phpdbg \
php8.5-readline php8.5-redis php8.5-soap php8.5-sqlite3 php8.5-xml \
php8.5-zip php8.5-bcmath php8.5-apcu php8.5-imagick \
Expand Down Expand Up @@ -72,7 +70,7 @@ RUN \
# CLEANUP ###################################################################
apt-get clean -y && \
apt-get autoclean -y && \
apt-get remove -y wget software-properties-common && \
apt-get remove -y wget && \
apt-get autoremove -y && \
rm -rf /var/lib/apt/lists/* /var/lib/log/* /tmp/* /var/tmp/* \
/root/.npm /root/.cache /root/.local /root/.opencode
Expand Down