Skip to content

Commit d06ae41

Browse files
authored
Remove manual ADD of docker-php-extension-installer on FrankenPHP images (#78)
1 parent eb792c6 commit d06ae41

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

FrankenPHP.Alpine.Dockerfile

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,6 @@ SHELL ["/bin/sh", "-eou", "pipefail", "-c"]
6767
RUN ln -snf /usr/share/zoneinfo/${TZ} /etc/localtime \
6868
&& echo ${TZ} > /etc/timezone
6969

70-
ADD --chmod=0755 https://github.com/mlocati/docker-php-extension-installer/releases/latest/download/install-php-extensions /usr/local/bin/
71-
7270
RUN apk update; \
7371
apk upgrade; \
7472
apk add --no-cache \
@@ -80,7 +78,7 @@ RUN apk update; \
8078
ca-certificates \
8179
supervisor \
8280
libsodium-dev \
83-
# Install PHP extensions
81+
# Install PHP extensions (included with dunglas/frankenphp)
8482
&& install-php-extensions \
8583
bz2 \
8684
pcntl \

FrankenPHP.Dockerfile

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,6 @@ SHELL ["/bin/bash", "-eou", "pipefail", "-c"]
6868
RUN ln -snf /usr/share/zoneinfo/${TZ} /etc/localtime \
6969
&& echo ${TZ} > /etc/timezone
7070

71-
ADD --chmod=0755 https://github.com/mlocati/docker-php-extension-installer/releases/latest/download/install-php-extensions /usr/local/bin/
72-
7371
RUN apt-get update; \
7472
apt-get upgrade -yqq; \
7573
apt-get install -yqq --no-install-recommends --show-progress \
@@ -82,7 +80,7 @@ RUN apt-get update; \
8280
ca-certificates \
8381
supervisor \
8482
libsodium-dev \
85-
# Install PHP extensions
83+
# Install PHP extensions (included with dunglas/frankenphp)
8684
&& install-php-extensions \
8785
bz2 \
8886
pcntl \

0 commit comments

Comments
 (0)