Skip to content

Commit f00c357

Browse files
authored
Merge pull request #150 from skyred/patch-37
Add Drupal 8.7 and remove 8.5
2 parents d2188b0 + 68b9138 commit f00c357

File tree

14 files changed

+33
-22
lines changed

14 files changed

+33
-22
lines changed

.travis.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@ language: bash
22
services: docker
33

44
env:
5+
- VERSION=8.7 VARIANT=apache
6+
- VERSION=8.7 VARIANT=fpm
7+
- VERSION=8.7 VARIANT=fpm-alpine
58
- VERSION=8.6 VARIANT=apache
69
- VERSION=8.6 VARIANT=fpm
710
- VERSION=8.6 VARIANT=fpm-alpine
8-
- VERSION=8.5 VARIANT=apache
9-
- VERSION=8.5 VARIANT=fpm
10-
- VERSION=8.5 VARIANT=fpm-alpine
1111
- VERSION=7 VARIANT=apache
1212
- VERSION=7 VARIANT=fpm
1313
- VERSION=7 VARIANT=fpm-alpine

7/apache/Dockerfile

Lines changed: 2 additions & 1 deletion
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.1-apache
2+
FROM php:7.2-apache
33

44
# install the PHP extensions we need
55
RUN set -ex; \
@@ -15,6 +15,7 @@ RUN set -ex; \
1515
libjpeg-dev \
1616
libpng-dev \
1717
libpq-dev \
18+
libzip-dev \
1819
; \
1920
\
2021
docker-php-ext-configure gd --with-png-dir=/usr --with-jpeg-dir=/usr; \

7/fpm-alpine/Dockerfile

Lines changed: 2 additions & 1 deletion
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.1-fpm-alpine
2+
FROM php:7.2-fpm-alpine
33

44
# install the PHP extensions we need
55
# postgresql-dev is needed for https://bugs.alpinelinux.org/issues/3642
@@ -9,6 +9,7 @@ RUN set -ex \
99
freetype-dev \
1010
libjpeg-turbo-dev \
1111
libpng-dev \
12+
libzip-dev \
1213
postgresql-dev \
1314
&& docker-php-ext-configure gd \
1415
--with-freetype-dir=/usr/include/ \

7/fpm/Dockerfile

Lines changed: 2 additions & 1 deletion
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.1-fpm
2+
FROM php:7.2-fpm
33

44
# install the PHP extensions we need
55
RUN set -ex; \
@@ -15,6 +15,7 @@ RUN set -ex; \
1515
libjpeg-dev \
1616
libpng-dev \
1717
libpq-dev \
18+
libzip-dev \
1819
; \
1920
\
2021
docker-php-ext-configure gd --with-png-dir=/usr --with-jpeg-dir=/usr; \

8.6/apache/Dockerfile

Lines changed: 2 additions & 1 deletion
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.2-apache
2+
FROM php:7.3-apache
33

44
# install the PHP extensions we need
55
RUN set -ex; \
@@ -15,6 +15,7 @@ RUN set -ex; \
1515
libjpeg-dev \
1616
libpng-dev \
1717
libpq-dev \
18+
libzip-dev \
1819
; \
1920
\
2021
docker-php-ext-configure gd --with-png-dir=/usr --with-jpeg-dir=/usr; \

8.6/fpm-alpine/Dockerfile

Lines changed: 2 additions & 1 deletion
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.2-fpm-alpine
2+
FROM php:7.3-fpm-alpine
33

44
# install the PHP extensions we need
55
# postgresql-dev is needed for https://bugs.alpinelinux.org/issues/3642
@@ -9,6 +9,7 @@ RUN set -ex \
99
freetype-dev \
1010
libjpeg-turbo-dev \
1111
libpng-dev \
12+
libzip-dev \
1213
postgresql-dev \
1314
&& docker-php-ext-configure gd \
1415
--with-freetype-dir=/usr/include/ \

8.6/fpm/Dockerfile

Lines changed: 2 additions & 1 deletion
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.2-fpm
2+
FROM php:7.3-fpm
33

44
# install the PHP extensions we need
55
RUN set -ex; \
@@ -15,6 +15,7 @@ RUN set -ex; \
1515
libjpeg-dev \
1616
libpng-dev \
1717
libpq-dev \
18+
libzip-dev \
1819
; \
1920
\
2021
docker-php-ext-configure gd --with-png-dir=/usr --with-jpeg-dir=/usr; \
Lines changed: 4 additions & 3 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.2-fpm
2+
FROM php:7.3-apache
33

44
# install the PHP extensions we need
55
RUN set -ex; \
@@ -15,6 +15,7 @@ RUN set -ex; \
1515
libjpeg-dev \
1616
libpng-dev \
1717
libpq-dev \
18+
libzip-dev \
1819
; \
1920
\
2021
docker-php-ext-configure gd --with-png-dir=/usr --with-jpeg-dir=/usr; \
@@ -54,8 +55,8 @@ RUN { \
5455
WORKDIR /var/www/html
5556

5657
# https://www.drupal.org/node/3060/release
57-
ENV DRUPAL_VERSION 8.5.15
58-
ENV DRUPAL_MD5 7a4ba499132c834e5d33bccae5ac1430
58+
ENV DRUPAL_VERSION 8.7.1
59+
ENV DRUPAL_MD5 2cf2a1c93ea785c6ff91d29aebef2697
5960

6061
RUN curl -fSL "https://ftp.drupal.org/files/projects/drupal-${DRUPAL_VERSION}.tar.gz" -o drupal.tar.gz \
6162
&& echo "${DRUPAL_MD5} *drupal.tar.gz" | md5sum -c - \
Lines changed: 4 additions & 3 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.2-fpm-alpine
2+
FROM php:7.3-fpm-alpine
33

44
# install the PHP extensions we need
55
# postgresql-dev is needed for https://bugs.alpinelinux.org/issues/3642
@@ -9,6 +9,7 @@ RUN set -ex \
99
freetype-dev \
1010
libjpeg-turbo-dev \
1111
libpng-dev \
12+
libzip-dev \
1213
postgresql-dev \
1314
&& docker-php-ext-configure gd \
1415
--with-freetype-dir=/usr/include/ \
@@ -43,8 +44,8 @@ RUN { \
4344
WORKDIR /var/www/html
4445

4546
# https://www.drupal.org/node/3060/release
46-
ENV DRUPAL_VERSION 8.5.15
47-
ENV DRUPAL_MD5 7a4ba499132c834e5d33bccae5ac1430
47+
ENV DRUPAL_VERSION 8.7.1
48+
ENV DRUPAL_MD5 2cf2a1c93ea785c6ff91d29aebef2697
4849

4950
RUN curl -fSL "https://ftp.drupal.org/files/projects/drupal-${DRUPAL_VERSION}.tar.gz" -o drupal.tar.gz \
5051
&& echo "${DRUPAL_MD5} *drupal.tar.gz" | md5sum -c - \
Lines changed: 4 additions & 3 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.2-apache
2+
FROM php:7.3-fpm
33

44
# install the PHP extensions we need
55
RUN set -ex; \
@@ -15,6 +15,7 @@ RUN set -ex; \
1515
libjpeg-dev \
1616
libpng-dev \
1717
libpq-dev \
18+
libzip-dev \
1819
; \
1920
\
2021
docker-php-ext-configure gd --with-png-dir=/usr --with-jpeg-dir=/usr; \
@@ -54,8 +55,8 @@ RUN { \
5455
WORKDIR /var/www/html
5556

5657
# https://www.drupal.org/node/3060/release
57-
ENV DRUPAL_VERSION 8.5.15
58-
ENV DRUPAL_MD5 7a4ba499132c834e5d33bccae5ac1430
58+
ENV DRUPAL_VERSION 8.7.1
59+
ENV DRUPAL_MD5 2cf2a1c93ea785c6ff91d29aebef2697
5960

6061
RUN curl -fSL "https://ftp.drupal.org/files/projects/drupal-${DRUPAL_VERSION}.tar.gz" -o drupal.tar.gz \
6162
&& echo "${DRUPAL_MD5} *drupal.tar.gz" | md5sum -c - \

0 commit comments

Comments
 (0)