Skip to content

Commit 912f2b2

Browse files
committed
Test against PHP 7.4 Debian Buster
1 parent 30bc6e6 commit 912f2b2

File tree

3 files changed

+15
-0
lines changed

3 files changed

+15
-0
lines changed

.circleci/config.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ jobs:
3434
steps:
3535
- checkout
3636
- run: make test-image IMAGE="php:fpm-alpine" DOCKERFILE="alpine"
37+
- run: make test-image IMAGE="php:fpm-buster" DOCKERFILE="stretch"
3738

3839
test-7.1:
3940
machine: true
@@ -67,3 +68,4 @@ jobs:
6768
- checkout
6869
- run: make test-image IMAGE="php:7.4-fpm-alpine3.10" DOCKERFILE="alpine"
6970
- run: make test-image IMAGE="php:7.4-fpm-alpine3.11" DOCKERFILE="alpine"
71+
- run: make test-image IMAGE="php:7.4-fpm-buster" DOCKERFILE="stretch"

Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ lint: php-fpm-healthcheck ## Lint code
1111

1212
test: ## Test code in multiple images
1313
$(MAKE) test-image IMAGE="php:fpm-alpine" DOCKERFILE="alpine"
14+
$(MAKE) test-image IMAGE="php:fpm-buster" DOCKERFILE="buster"
1415
$(MAKE) test-image IMAGE="php:7.1-fpm-alpine3.7" DOCKERFILE="alpine"
1516
$(MAKE) test-image IMAGE="php:7.1-fpm-alpine3.8" DOCKERFILE="alpine"
1617
$(MAKE) test-image IMAGE="php:7.2-fpm-alpine3.7" DOCKERFILE="alpine"
@@ -22,6 +23,7 @@ test: ## Test code in multiple images
2223
$(MAKE) test-image IMAGE="php:7.1-fpm-stretch" DOCKERFILE="stretch"
2324
$(MAKE) test-image IMAGE="php:7.2-fpm-stretch" DOCKERFILE="stretch"
2425
$(MAKE) test-image IMAGE="php:7.3-fpm-stretch" DOCKERFILE="stretch"
26+
$(MAKE) test-image IMAGE="php:7.4-fpm-buster" DOCKERFILE="buster"
2527

2628
test-image:
2729
./test/docker.sh ${DOCKERFILE} ${IMAGE}

test/Dockerfile-buster

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
FROM php:7.4-fpm-buster
2+
3+
# Required software
4+
RUN set -x \
5+
&& apt-get update \
6+
&& apt-get install -y libfcgi-bin
7+
8+
# Enable php fpm status page
9+
RUN set -xe && echo "pm.status_path = /status" >> /usr/local/etc/php-fpm.d/zz-docker.conf
10+
11+
COPY ./php-fpm-healthcheck /usr/local/bin/

0 commit comments

Comments
 (0)