Skip to content

Commit 17fbc80

Browse files
f3l1xclaude
andcommitted
Docker: link php to php84 in Alpine images
In Alpine 3.24 php85 is the default PHP, so the php84 package no longer creates /usr/bin/php. The entrypoints call php. adminer-mysql already had this link. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01VSKw7jY45nUJWQxWpvjm82
1 parent 65c7e27 commit 17fbc80

5 files changed

Lines changed: 5 additions & 0 deletions

File tree

‎adminer-dg/Dockerfile‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ RUN echo '@community https://dl-cdn.alpinelinux.org/alpine/v3.24/community' >> /
2323
php84-json@community \
2424
php84-pecl-mongodb@community \
2525
tini && \
26+
ln -s /usr/bin/php84 /usr/bin/php && \
2627
wget https://github.com/dg/adminer-custom/archive/v$ADMINER_DG_VERION.tar.gz -O /srv/adminer.tgz && \
2728
tar zxvf /srv/adminer.tgz --strip-components=1 -C /srv && \
2829
rm /srv/adminer.tgz && \

‎adminer-editor/Dockerfile‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ RUN echo '@community https://dl-cdn.alpinelinux.org/alpine/v3.24/community' >> /
2424
php84-json@community \
2525
php84-pecl-mongodb@community \
2626
tini && \
27+
ln -s /usr/bin/php84 /usr/bin/php && \
2728
wget https://github.com/vrana/adminer/releases/download/v$ADMINER_EDITOR_VERSION/editor-$ADMINER_EDITOR_VERSION.php -O /srv/index.php && \
2829
wget https://github.com/vrana/adminer/releases/download/v$ADMINER_EDITOR_VERSION/adminer-$ADMINER_EDITOR_VERSION.zip -O /tmp/adminer-$ADMINER_EDITOR_VERSION.zip && \
2930
unzip /tmp/adminer-$ADMINER_EDITOR_VERSION.zip -d /tmp && \

‎adminer-full/Dockerfile‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ RUN echo '@community https://dl-cdn.alpinelinux.org/alpine/v3.24/community' >> /
2525
php84-pecl-mongodb@community \
2626
php84-sqlite3@community \
2727
tini && \
28+
ln -s /usr/bin/php84 /usr/bin/php && \
2829
wget https://github.com/vrana/adminer/releases/download/v$ADMINER_VERSION/adminer-$ADMINER_VERSION.php -O /srv/index.php && \
2930
wget https://github.com/vrana/adminer/releases/download/v$ADMINER_VERSION/adminer-$ADMINER_VERSION.zip -O /tmp/adminer-$ADMINER_VERSION.zip && \
3031
unzip /tmp/adminer-$ADMINER_VERSION.zip -d /tmp && \

‎adminer-mongo/Dockerfile‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ RUN echo '@community https://dl-cdn.alpinelinux.org/alpine/v3.24/community' >> /
2121
php84-session@community \
2222
php84-pecl-mongodb@community \
2323
tini && \
24+
ln -s /usr/bin/php84 /usr/bin/php && \
2425
wget https://github.com/vrana/adminer/releases/download/v$ADMINER_VERSION/adminer-$ADMINER_VERSION.php -O /srv/index.php && \
2526
wget https://github.com/vrana/adminer/releases/download/v$ADMINER_VERSION/adminer-$ADMINER_VERSION.zip -O /tmp/adminer-$ADMINER_VERSION.zip && \
2627
unzip /tmp/adminer-$ADMINER_VERSION.zip -d /tmp && \

‎adminer-postgres/Dockerfile‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ RUN echo '@community https://dl-cdn.alpinelinux.org/alpine/v3.24/community' >> /
2121
php84-session@community \
2222
php84-pgsql@community \
2323
tini && \
24+
ln -s /usr/bin/php84 /usr/bin/php && \
2425
wget https://github.com/vrana/adminer/releases/download/v$ADMINER_VERSION/adminer-$ADMINER_VERSION.php -O /srv/index.php && \
2526
wget https://github.com/vrana/adminer/releases/download/v$ADMINER_VERSION/adminer-$ADMINER_VERSION.zip -O /tmp/adminer-$ADMINER_VERSION.zip && \
2627
unzip /tmp/adminer-$ADMINER_VERSION.zip -d /tmp && \

0 commit comments

Comments
 (0)