File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -6,15 +6,15 @@ COVERAGE_PHP := 7.4 3.1.1
66PHP_8_3 := 8.3 3.3.2
77
88define PHP_VERSIONS
9- "7.2 3.1.5"\
10- "7.3 3.1.5"\
11- "7.4 3.1.5"\
12- "8.0 3.4.7"\
13- "8.1 3.4.7"\
14- "8.2 3.4.7"\
15- "8.3 3.4.7"\
16- "8.4 3.4.7"\
17- "8.5 3.5.0"
9+ "7.2.34 3.1.5"\
10+ "7.3.33 3.1.5"\
11+ "7.4.33 3.1.5"\
12+ "8.0.30 3.4.7"\
13+ "8.1.34 3.4.7"\
14+ "8.2.30 3.4.7"\
15+ "8.3.30 3.4.7"\
16+ "8.4.19 3.4.7"\
17+ "8.5.4 3.5.0"
1818endef
1919
2020define DOCKER_RUN
Original file line number Diff line number Diff line change 22
33set -e
44
5- PHP_MINOR=$1
6- PHP_VERSION=$( (wget -qO- " https://hub.docker.com/v2/repositories/library/php/tags?page_size=100&name=$PHP_MINOR " \
7- | grep -Po " [0-9]+\.[0-9]+\.[0-9]+(?=-)" \
8- || echo " $PHP_MINOR " ) \
9- | head -1 \
10- )
5+ PHP_VERSION=$1
116XDEBUG_VERSION=$2
127
13-
148FROM_IMAGE=" php:$PHP_VERSION -cli-alpine"
159CONTAINER_NAME=" json-machine-php-$PHP_VERSION "
1610
17-
1811docker ps --all --format " {{.Names}}" | grep " $CONTAINER_NAME " && docker rm -f " $CONTAINER_NAME "
1912
2013>&2 echo " Building $CONTAINER_NAME from $FROM_IMAGE "
You can’t perform that action at this time.
0 commit comments