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
Prev Previous commit
Install openssh-client, restore php-ssh2
The bookworm base has no /etc/ssh, unlike the stretch base, so appending the
IdentityFile line to /etc/ssh/ssh_config failed the PHP build:

    /bin/sh: 1: cannot create /etc/ssh/ssh_config: Directory nonexistent

Install openssh-client, which ships that file. The compose file mounts the SSH
agent socket into the nodejs container too, so add it there as well.

Also restore php8.5-ssh2, dropped from the extension list by mistake during the
migration; unlike the removed extensions it is still published for PHP 8.x.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QNkYkDFukA7kdCTsnWLrCD
  • Loading branch information
claude committed Aug 10, 2026
commit cabf060086059b14512f327c5853ff17b2e516d9
2 changes: 1 addition & 1 deletion nodejs/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ LABEL maintainer="Milan Sulc <sulcmil@gmail.com>"
ENV NODE_VERSION=24.19.0

RUN apt-get update && apt-get dist-upgrade -y && \
apt-get install -y wget curl git bash-completion gnupg2 && \
apt-get install -y wget curl git bash-completion gnupg2 openssh-client && \
curl -fsSLo /tmp/node.tar.gz "https://nodejs.org/dist/v${NODE_VERSION}/node-v${NODE_VERSION}-linux-x64.tar.gz" && \
tar -xzf /tmp/node.tar.gz -C /usr/local --strip-components=1 --no-same-owner && \
rm /tmp/node.tar.gz /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md && \
Expand Down
3 changes: 2 additions & 1 deletion php/8.5-fpm/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ ENV BLACKFIRE_AGENT=tcp://blackfire:8707
RUN apt-get update && apt-get dist-upgrade -y && \
# DEPENDENCIES #############################################################
apt-get install -y --no-install-recommends \
wget curl git bash-completion ca-certificates gnupg && \
wget curl git bash-completion ca-certificates gnupg openssh-client && \
mkdir -p /etc/apt/keyrings && \
# COMPLETION ###############################################################
cp /etc/skel/.bashrc ~/ && \
Expand Down Expand Up @@ -69,6 +69,7 @@ RUN apt-get update && apt-get dist-upgrade -y && \
php${PHP_VERSION}-redis \
php${PHP_VERSION}-soap \
php${PHP_VERSION}-sqlite3 \
php${PHP_VERSION}-ssh2 \
php${PHP_VERSION}-xsl \
php${PHP_VERSION}-zip \
php${PHP_VERSION}-xdebug \
Expand Down
3 changes: 2 additions & 1 deletion php/8.5/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ ENV BLACKFIRE_AGENT=tcp://blackfire:8707
RUN apt-get update && apt-get dist-upgrade -y && \
# DEPENDENCIES #############################################################
apt-get install -y --no-install-recommends \
wget curl git bash-completion ca-certificates gnupg && \
wget curl git bash-completion ca-certificates gnupg openssh-client && \
mkdir -p /etc/apt/keyrings && \
# COMPLETION ###############################################################
cp /etc/skel/.bashrc ~/ && \
Expand Down Expand Up @@ -66,6 +66,7 @@ RUN apt-get update && apt-get dist-upgrade -y && \
php${PHP_VERSION}-redis \
php${PHP_VERSION}-soap \
php${PHP_VERSION}-sqlite3 \
php${PHP_VERSION}-ssh2 \
php${PHP_VERSION}-xsl \
php${PHP_VERSION}-zip \
php${PHP_VERSION}-xdebug \
Expand Down