Skip to content

Commit 73a9b4a

Browse files
authored
Drop PHP7.2 support (#94)
* drop PHP7.2 support * Always use "latest"
1 parent d2664e5 commit 73a9b4a

File tree

26 files changed

+47
-47
lines changed

26 files changed

+47
-47
lines changed

.github/workflows/blackfire.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
id: fetch_version
2727
run: |
2828
cd layers/blackfire;
29-
for VERSION in 72 73 74; do
29+
for VERSION in 73 74; do
3030
BF_AGENT_VERSION=$(curl -s -o probe -D - https://blackfire.io/api/v1/releases/probe/php/linux/amd64/$VERSION | grep -i 'X-Blackfire-Release-Version: ' | sed "s%X-Blackfire-Release-Version: %%I" | sed s%.$%%);
3131
php ./store.php $VERSION $BF_AGENT_VERSION;
3232
done

.travis.yml

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -14,30 +14,30 @@ services:
1414

1515
env:
1616
# Some super slow extension first
17-
- LAYER=imagick PHP="72 73 74"
18-
- LAYER=memcached PHP="72 73 74"
19-
- LAYER=grpc PHP="72 73 74"
17+
- LAYER=imagick PHP="73 74"
18+
- LAYER=memcached PHP="73 74"
19+
- LAYER=grpc PHP="73 74"
2020
# All layers in alphabetical order
21-
- LAYER=amqp PHP="72 73 74"
22-
- LAYER=blackfire PHP="72 73 74"
23-
- LAYER=cassandra PHP="72 73 74"
24-
- LAYER=ds PHP="72 73 74"
21+
- LAYER=amqp PHP="73 74"
22+
- LAYER=blackfire PHP="73 74"
23+
- LAYER=cassandra PHP="73 74"
24+
- LAYER=ds PHP="73 74"
2525
- LAYER=gd PHP="73 74"
26-
- LAYER=gmp PHP="72 73 74"
27-
- LAYER=igbinary PHP="72 73 74"
28-
- LAYER=ldap PHP="72 73 74"
29-
- LAYER=mailparse PHP="72 73 74"
30-
- LAYER=mongodb PHP="72 73 74"
31-
- LAYER=msgpack PHP="72 73 74"
32-
- LAYER=odbc-snowflake PHP="72 73 74"
33-
- LAYER=pcov PHP="72 73 74"
34-
- LAYER=pgsql PHP="72 73 74"
35-
- LAYER=redis PHP="72 73 74"
36-
- LAYER=scrypt PHP="72 73 74"
37-
- LAYER=sqlsrv PHP="72 73 74"
38-
- LAYER=uuid PHP="72 73 74"
39-
- LAYER=xdebug PHP="72 73 74"
40-
- LAYER=yaml PHP="72 73 74"
26+
- LAYER=gmp PHP="73 74"
27+
- LAYER=igbinary PHP="73 74"
28+
- LAYER=ldap PHP="73 74"
29+
- LAYER=mailparse PHP="73 74"
30+
- LAYER=mongodb PHP="73 74"
31+
- LAYER=msgpack PHP="73 74"
32+
- LAYER=odbc-snowflake PHP="73 74"
33+
- LAYER=pcov PHP="73 74"
34+
- LAYER=pgsql PHP="73 74"
35+
- LAYER=redis PHP="73 74"
36+
- LAYER=scrypt PHP="73 74"
37+
- LAYER=sqlsrv PHP="73 74"
38+
- LAYER=uuid PHP="73 74"
39+
- LAYER=xdebug PHP="73 74"
40+
- LAYER=yaml PHP="73 74"
4141

4242
before_install:
4343
- |

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
SHELL := /bin/bash
2-
php_versions ?= 72 73 74
2+
php_versions ?= 73 74
33
layer ?= *
44
parallel = $(if $(shell which parallel),true,false)
55

layers/amqp/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
ARG PHP_VERSION
2-
FROM bref/build-php-$PHP_VERSION as ext
2+
FROM bref/build-php-$PHP_VERSION:latest AS ext
33

44
ENV LIBRABBITMQ_BUILD_DIR=${BUILD_DIR}/librabbitmq
55

layers/blackfire/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
ARG PHP_VERSION
2-
FROM bref/build-php-$PHP_VERSION AS ext
2+
FROM bref/build-php-$PHP_VERSION:latest AS ext
33

44
RUN version=$(php -r "echo PHP_MAJOR_VERSION.PHP_MINOR_VERSION;") \
55
&& curl -A "Docker" -o /tmp/blackfire-probe.tar.gz -D - -L -s https://blackfire.io/api/v1/releases/probe/php/linux/amd64/$version \

layers/cassandra/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
ARG PHP_VERSION
2-
FROM bref/build-php-$PHP_VERSION AS ext
2+
FROM bref/build-php-$PHP_VERSION:latest AS ext
33

44
# Datastax is providing a PHP Cassandra driver, but this hasn't been updated for a while and doesn't work with PHP 7.2 or higher
55
# Datastax indicated there will be updates in the near future, so check https://docs.datastax.com/en/developer/php-driver/ if you want to avoid building your own :-)

layers/ds/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
ARG PHP_VERSION
2-
FROM bref/build-php-$PHP_VERSION AS ext
2+
FROM bref/build-php-$PHP_VERSION:latest AS ext
33

44
RUN pecl install ds
55
RUN cp `php-config --extension-dir`/ds.so /tmp/ds.so

layers/gd/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
ARG PHP_VERSION
2-
FROM bref/build-php-$PHP_VERSION as ext
2+
FROM bref/build-php-$PHP_VERSION:latest AS ext
33

44
# Install required build libraries
55
RUN set -ue \

layers/gmp/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
ARG PHP_VERSION
2-
FROM bref/build-php-$PHP_VERSION AS ext
2+
FROM bref/build-php-$PHP_VERSION:latest AS ext
33

44
# Fix library path
55
ENV LD_LIBRARY_PATH=/usr/lib:/usr/lib64:$LD_LIBRARY_PATH

layers/grpc/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
ARG PHP_VERSION
2-
FROM bref/build-php-$PHP_VERSION as ext
2+
FROM bref/build-php-$PHP_VERSION:latest AS ext
33

44
RUN pecl install grpc > /dev/null
55
RUN cp `php-config --extension-dir`/grpc.so /tmp/grpc.so

0 commit comments

Comments
 (0)