Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
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
5 changes: 5 additions & 0 deletions php/8.3-cli/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@ ENV INI_REALPATH_CACHE_TTL "600"
ENV INIT_MEMORY_LIMIT "512M"

RUN set -ex \
# Keep libexpat in sync with the current Alpine repo. The upstream php base
# image can freeze an older libexpat whose soname is still satisfied, so a
# downstream "apk add python3/supervisor" pulls a newer pyexpat that then
# fails to relocate against the stale library at runtime.
&& apk upgrade --no-cache libexpat \
# Build dependencies
&& apk add --no-cache --virtual .build-deps \
$PHPIZE_DEPS \
Expand Down
5 changes: 5 additions & 0 deletions php/8.4-cli/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@ ENV INI_REALPATH_CACHE_TTL="600"
ENV INI_MEMORY_LIMIT="512M"

RUN set -ex \
# Keep libexpat in sync with the current Alpine repo. The upstream php base
# image can freeze an older libexpat whose soname is still satisfied, so a
# downstream "apk add python3/supervisor" pulls a newer pyexpat that then
# fails to relocate against the stale library at runtime.
&& apk upgrade --no-cache libexpat \
# Build dependencies
&& apk add --no-cache --virtual .build-deps \
$PHPIZE_DEPS \
Expand Down