Skip to content
Merged
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
16 changes: 6 additions & 10 deletions images/runtime/php-fpm/8.2/bullseye.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -319,16 +319,12 @@ RUN apt-mark hold msodbcsql17 msodbcsql18 odbcinst1debian2 odbcinst unixodbc uni
&& ln -s /usr/include/x86_64-linux-gnu/gmp.h /usr/include/gmp.h

RUN set -eux; \
if [[ $PHP_VERSION == 7.4.* || $PHP_VERSION == 8.0.* || $PHP_VERSION == 8.1.* || $PHP_VERSION == 8.2.* || $PHP_VERSION == 8.3.* ]]; then \
apt-get update \
&& apt-get upgrade -y \
&& apt-get install -y --no-install-recommends apache2-dev \
&& docker-php-ext-configure gd --with-freetype --with-jpeg \
&& PHP_OPENSSL=yes docker-php-ext-configure imap --with-kerberos --with-imap-ssl ; \
else \
docker-php-ext-configure gd --with-png-dir=/usr --with-jpeg-dir=/usr \
&& docker-php-ext-configure imap --with-kerberos --with-imap-ssl ; \
fi
apt-get update \
&& apt-get upgrade -y \
&& apt-mark unhold nginx \
&& apt-get install -y --no-install-recommends apache2-dev \
&& docker-php-ext-configure gd --with-freetype --with-jpeg \
&& PHP_OPENSSL=yes docker-php-ext-configure imap --with-kerberos --with-imap-ssl

RUN docker-php-ext-configure pdo_odbc --with-pdo-odbc=unixODBC,/usr \
&& docker-php-ext-install gd \
Expand Down
16 changes: 6 additions & 10 deletions images/runtime/php-fpm/8.3/bookworm.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -313,16 +313,12 @@ RUN apt-mark hold msodbcsql17 msodbcsql18 odbcinst1debian2 odbcinst unixodbc uni
&& ln -s /usr/include/x86_64-linux-gnu/gmp.h /usr/include/gmp.h

RUN set -eux; \
if [[ $PHP_VERSION == 7.4.* || $PHP_VERSION == 8.0.* || $PHP_VERSION == 8.1.* || $PHP_VERSION == 8.2.* || $PHP_VERSION == 8.3.* ]]; then \
apt-get update \
&& apt-get upgrade -y \
&& apt-get install -y --no-install-recommends apache2-dev \
&& docker-php-ext-configure gd --with-freetype --with-jpeg \
&& PHP_OPENSSL=yes docker-php-ext-configure imap --with-kerberos --with-imap-ssl ; \
else \
docker-php-ext-configure gd --with-png-dir=/usr --with-jpeg-dir=/usr \
&& docker-php-ext-configure imap --with-kerberos --with-imap-ssl ; \
fi
apt-get update \
&& apt-get upgrade -y \
&& apt-mark unhold nginx \
&& apt-get install -y --no-install-recommends apache2-dev \
&& docker-php-ext-configure gd --with-freetype --with-jpeg \
&& PHP_OPENSSL=yes docker-php-ext-configure imap --with-kerberos --with-imap-ssl

RUN docker-php-ext-configure pdo_odbc --with-pdo-odbc=unixODBC,/usr \
&& docker-php-ext-install gd \
Expand Down
16 changes: 6 additions & 10 deletions images/runtime/php-fpm/8.3/bullseye.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -318,16 +318,12 @@ RUN apt-mark hold msodbcsql17 msodbcsql18 odbcinst1debian2 odbcinst unixodbc uni
&& ln -s /usr/include/x86_64-linux-gnu/gmp.h /usr/include/gmp.h

RUN set -eux; \
if [[ $PHP_VERSION == 7.4.* || $PHP_VERSION == 8.0.* || $PHP_VERSION == 8.1.* || $PHP_VERSION == 8.2.* || $PHP_VERSION == 8.3.* ]]; then \
apt-get update \
&& apt-get upgrade -y \
&& apt-get install -y --no-install-recommends apache2-dev \
&& docker-php-ext-configure gd --with-freetype --with-jpeg \
&& PHP_OPENSSL=yes docker-php-ext-configure imap --with-kerberos --with-imap-ssl ; \
else \
docker-php-ext-configure gd --with-png-dir=/usr --with-jpeg-dir=/usr \
&& docker-php-ext-configure imap --with-kerberos --with-imap-ssl ; \
fi
apt-get update \
&& apt-get upgrade -y \
&& apt-mark unhold nginx \
&& apt-get install -y --no-install-recommends apache2-dev \
&& docker-php-ext-configure gd --with-freetype --with-jpeg \
&& PHP_OPENSSL=yes docker-php-ext-configure imap --with-kerberos --with-imap-ssl

RUN docker-php-ext-configure pdo_odbc --with-pdo-odbc=unixODBC,/usr \
&& docker-php-ext-install gd \
Expand Down
1 change: 1 addition & 0 deletions images/runtime/php-fpm/8.4/bookworm.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -315,6 +315,7 @@ RUN apt-mark hold msodbcsql17 msodbcsql18 odbcinst1debian2 odbcinst unixodbc uni
RUN set -eux; \
apt-get update \
&& apt-get upgrade -y \
&& apt-mark unhold nginx \
&& apt-get install -y --no-install-recommends apache2-dev \
&& docker-php-ext-configure gd --with-freetype --with-jpeg \
# From php 8.4 version imap is removed from php core and moved to pecl
Expand Down
1 change: 1 addition & 0 deletions images/runtime/php-fpm/8.4/bullseye.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -320,6 +320,7 @@ RUN apt-mark hold msodbcsql17 msodbcsql18 odbcinst1debian2 odbcinst unixodbc uni
RUN set -eux; \
apt-get update \
&& apt-get upgrade -y \
&& apt-mark unhold nginx \
&& apt-get install -y --no-install-recommends apache2-dev \
&& docker-php-ext-configure gd --with-freetype --with-jpeg \
# From php 8.4 version imap is removed from php core and moved to pecl
Expand Down
1 change: 1 addition & 0 deletions images/runtime/php-fpm/8.5/noble.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -316,6 +316,7 @@ RUN apt-mark hold msodbcsql18 unixodbc unixodbc-dev nginx \
RUN set -eux; \
apt-get update \
&& apt-get upgrade -y \
&& apt-mark unhold nginx \
&& apt-get install -y --no-install-recommends apache2-dev \
&& docker-php-ext-configure gd --with-freetype --with-jpeg \
# From php 8.4 version imap is removed from php core and moved to pecl
Expand Down
Loading