Skip to content

Commit

Permalink
Remove manual ADD of docker-php-extension-installer on FrankenPHP ima…
Browse files Browse the repository at this point in the history
…ges (#78)
  • Loading branch information
dir authored May 18, 2024
1 parent eb792c6 commit d06ae41
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 1 addition & 3 deletions FrankenPHP.Alpine.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,6 @@ SHELL ["/bin/sh", "-eou", "pipefail", "-c"]
RUN ln -snf /usr/share/zoneinfo/${TZ} /etc/localtime \
&& echo ${TZ} > /etc/timezone

ADD --chmod=0755 https://github.com/mlocati/docker-php-extension-installer/releases/latest/download/install-php-extensions /usr/local/bin/

RUN apk update; \
apk upgrade; \
apk add --no-cache \
Expand All @@ -80,7 +78,7 @@ RUN apk update; \
ca-certificates \
supervisor \
libsodium-dev \
# Install PHP extensions
# Install PHP extensions (included with dunglas/frankenphp)
&& install-php-extensions \
bz2 \
pcntl \
Expand Down
4 changes: 1 addition & 3 deletions FrankenPHP.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,6 @@ SHELL ["/bin/bash", "-eou", "pipefail", "-c"]
RUN ln -snf /usr/share/zoneinfo/${TZ} /etc/localtime \
&& echo ${TZ} > /etc/timezone

ADD --chmod=0755 https://github.com/mlocati/docker-php-extension-installer/releases/latest/download/install-php-extensions /usr/local/bin/

RUN apt-get update; \
apt-get upgrade -yqq; \
apt-get install -yqq --no-install-recommends --show-progress \
Expand All @@ -82,7 +80,7 @@ RUN apt-get update; \
ca-certificates \
supervisor \
libsodium-dev \
# Install PHP extensions
# Install PHP extensions (included with dunglas/frankenphp)
&& install-php-extensions \
bz2 \
pcntl \
Expand Down

0 comments on commit d06ae41

Please sign in to comment.