Skip to content

Commit a6c80af

Browse files
authored
Merge pull request #174 from tanarurkerem/master
Update base image to PHP 7.4
2 parents a37e690 + 664a5db commit a6c80af

File tree

12 files changed

+39
-50
lines changed

12 files changed

+39
-50
lines changed

7/apache/Dockerfile

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# from https://www.drupal.org/docs/8/system-requirements/drupal-8-php-requirements
2-
FROM php:7.3-apache-stretch
2+
FROM php:7.4-apache-buster
33
# TODO switch to buster once https://github.com/docker-library/php/issues/865 is resolved in a clean way (either in the PHP image or in PHP itself)
44

55
# install the PHP extensions we need
@@ -21,9 +21,8 @@ RUN set -eux; \
2121
; \
2222
\
2323
docker-php-ext-configure gd \
24-
--with-freetype-dir=/usr \
25-
--with-jpeg-dir=/usr \
26-
--with-png-dir=/usr \
24+
--with-freetype \
25+
--with-jpeg=/usr \
2726
; \
2827
\
2928
docker-php-ext-install -j "$(nproc)" \

7/fpm-alpine/Dockerfile

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# from https://www.drupal.org/docs/8/system-requirements/drupal-8-php-requirements
2-
FROM php:7.3-fpm-alpine
2+
FROM php:7.4-fpm-alpine
33

44
# install the PHP extensions we need
55
# postgresql-dev is needed for https://bugs.alpinelinux.org/issues/3642
@@ -15,9 +15,8 @@ RUN set -eux; \
1515
; \
1616
\
1717
docker-php-ext-configure gd \
18-
--with-freetype-dir=/usr/include \
19-
--with-jpeg-dir=/usr/include \
20-
--with-png-dir=/usr/include \
18+
--with-freetype \
19+
--with-jpeg=/usr/include \
2120
; \
2221
\
2322
docker-php-ext-install -j "$(nproc)" \

7/fpm/Dockerfile

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# from https://www.drupal.org/docs/8/system-requirements/drupal-8-php-requirements
2-
FROM php:7.3-fpm-stretch
2+
FROM php:7.4-fpm-buster
33
# TODO switch to buster once https://github.com/docker-library/php/issues/865 is resolved in a clean way (either in the PHP image or in PHP itself)
44

55
# install the PHP extensions we need
@@ -21,9 +21,8 @@ RUN set -eux; \
2121
; \
2222
\
2323
docker-php-ext-configure gd \
24-
--with-freetype-dir=/usr \
25-
--with-jpeg-dir=/usr \
26-
--with-png-dir=/usr \
24+
--with-freetype \
25+
--with-jpeg=/usr \
2726
; \
2827
\
2928
docker-php-ext-install -j "$(nproc)" \

8.8/apache/Dockerfile

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# from https://www.drupal.org/docs/8/system-requirements/drupal-8-php-requirements
2-
FROM php:7.3-apache-stretch
2+
FROM php:7.4-apache-buster
33
# TODO switch to buster once https://github.com/docker-library/php/issues/865 is resolved in a clean way (either in the PHP image or in PHP itself)
44

55
# install the PHP extensions we need
@@ -21,9 +21,8 @@ RUN set -eux; \
2121
; \
2222
\
2323
docker-php-ext-configure gd \
24-
--with-freetype-dir=/usr \
25-
--with-jpeg-dir=/usr \
26-
--with-png-dir=/usr \
24+
--with-freetype \
25+
--with-jpeg=/usr \
2726
; \
2827
\
2928
docker-php-ext-install -j "$(nproc)" \

8.8/fpm-alpine/Dockerfile

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# from https://www.drupal.org/docs/8/system-requirements/drupal-8-php-requirements
2-
FROM php:7.3-fpm-alpine
2+
FROM php:7.4-fpm-alpine
33

44
# install the PHP extensions we need
55
# postgresql-dev is needed for https://bugs.alpinelinux.org/issues/3642
@@ -15,9 +15,8 @@ RUN set -eux; \
1515
; \
1616
\
1717
docker-php-ext-configure gd \
18-
--with-freetype-dir=/usr/include \
19-
--with-jpeg-dir=/usr/include \
20-
--with-png-dir=/usr/include \
18+
--with-freetype \
19+
--with-jpeg=/usr/include \
2120
; \
2221
\
2322
docker-php-ext-install -j "$(nproc)" \

8.8/fpm/Dockerfile

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# from https://www.drupal.org/docs/8/system-requirements/drupal-8-php-requirements
2-
FROM php:7.3-fpm-stretch
2+
FROM php:7.4-fpm-buster
33
# TODO switch to buster once https://github.com/docker-library/php/issues/865 is resolved in a clean way (either in the PHP image or in PHP itself)
44

55
# install the PHP extensions we need
@@ -21,9 +21,8 @@ RUN set -eux; \
2121
; \
2222
\
2323
docker-php-ext-configure gd \
24-
--with-freetype-dir=/usr \
25-
--with-jpeg-dir=/usr \
26-
--with-png-dir=/usr \
24+
--with-freetype \
25+
--with-jpeg=/usr \
2726
; \
2827
\
2928
docker-php-ext-install -j "$(nproc)" \
Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# from https://www.drupal.org/docs/8/system-requirements/drupal-8-php-requirements
2-
FROM php:7.3-fpm-stretch
2+
FROM php:7.4-apache-buster
33
# TODO switch to buster once https://github.com/docker-library/php/issues/865 is resolved in a clean way (either in the PHP image or in PHP itself)
44

55
# install the PHP extensions we need
@@ -21,9 +21,8 @@ RUN set -eux; \
2121
; \
2222
\
2323
docker-php-ext-configure gd \
24-
--with-freetype-dir=/usr \
25-
--with-jpeg-dir=/usr \
26-
--with-png-dir=/usr \
24+
--with-freetype \
25+
--with-jpeg=/usr \
2726
; \
2827
\
2928
docker-php-ext-install -j "$(nproc)" \
@@ -61,8 +60,8 @@ RUN { \
6160
WORKDIR /var/www/html
6261

6362
# https://www.drupal.org/node/3060/release
64-
ENV DRUPAL_VERSION 8.7.14
65-
ENV DRUPAL_MD5 e3b57c7ac08d78269c649a3d62cda075
63+
ENV DRUPAL_VERSION 8.9.0
64+
ENV DRUPAL_MD5 3f57e9e8a7c2fe9c499712d5d254f55b
6665

6766
RUN set -eux; \
6867
curl -fSL "https://ftp.drupal.org/files/projects/drupal-${DRUPAL_VERSION}.tar.gz" -o drupal.tar.gz; \
Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# from https://www.drupal.org/docs/8/system-requirements/drupal-8-php-requirements
2-
FROM php:7.3-fpm-alpine
2+
FROM php:7.4-fpm-alpine
33

44
# install the PHP extensions we need
55
# postgresql-dev is needed for https://bugs.alpinelinux.org/issues/3642
@@ -15,9 +15,8 @@ RUN set -eux; \
1515
; \
1616
\
1717
docker-php-ext-configure gd \
18-
--with-freetype-dir=/usr/include \
19-
--with-jpeg-dir=/usr/include \
20-
--with-png-dir=/usr/include \
18+
--with-freetype \
19+
--with-jpeg=/usr/include \
2120
; \
2221
\
2322
docker-php-ext-install -j "$(nproc)" \
@@ -50,8 +49,8 @@ RUN { \
5049
WORKDIR /var/www/html
5150

5251
# https://www.drupal.org/node/3060/release
53-
ENV DRUPAL_VERSION 8.7.14
54-
ENV DRUPAL_MD5 e3b57c7ac08d78269c649a3d62cda075
52+
ENV DRUPAL_VERSION 8.9.0
53+
ENV DRUPAL_MD5 3f57e9e8a7c2fe9c499712d5d254f55b
5554

5655
RUN set -eux; \
5756
curl -fSL "https://ftp.drupal.org/files/projects/drupal-${DRUPAL_VERSION}.tar.gz" -o drupal.tar.gz; \
Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# from https://www.drupal.org/docs/8/system-requirements/drupal-8-php-requirements
2-
FROM php:7.3-apache-stretch
2+
FROM php:7.4-fpm-buster
33
# TODO switch to buster once https://github.com/docker-library/php/issues/865 is resolved in a clean way (either in the PHP image or in PHP itself)
44

55
# install the PHP extensions we need
@@ -21,9 +21,8 @@ RUN set -eux; \
2121
; \
2222
\
2323
docker-php-ext-configure gd \
24-
--with-freetype-dir=/usr \
25-
--with-jpeg-dir=/usr \
26-
--with-png-dir=/usr \
24+
--with-freetype \
25+
--with-jpeg=/usr \
2726
; \
2827
\
2928
docker-php-ext-install -j "$(nproc)" \
@@ -61,8 +60,8 @@ RUN { \
6160
WORKDIR /var/www/html
6261

6362
# https://www.drupal.org/node/3060/release
64-
ENV DRUPAL_VERSION 8.7.14
65-
ENV DRUPAL_MD5 e3b57c7ac08d78269c649a3d62cda075
63+
ENV DRUPAL_VERSION 8.9.0
64+
ENV DRUPAL_MD5 3f57e9e8a7c2fe9c499712d5d254f55b
6665

6766
RUN set -eux; \
6867
curl -fSL "https://ftp.drupal.org/files/projects/drupal-${DRUPAL_VERSION}.tar.gz" -o drupal.tar.gz; \

Dockerfile-alpine.template

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,8 @@ RUN set -eux; \
1515
; \
1616
\
1717
docker-php-ext-configure gd \
18-
--with-freetype-dir=/usr/include \
19-
--with-jpeg-dir=/usr/include \
20-
--with-png-dir=/usr/include \
18+
--with-freetype \
19+
--with-jpeg=/usr/include \
2120
; \
2221
\
2322
docker-php-ext-install -j "$(nproc)" \

0 commit comments

Comments
 (0)