mirror of
https://github.com/danog/php.git
synced 2024-11-26 20:04:58 +01:00
Add Alpine 3.18 variant for PHP >= 8.1
Keep Alpine 3.16 to support PHP 8.0
This commit is contained in:
parent
9d896ba1fb
commit
9a3c8d8a80
@ -4,7 +4,7 @@
|
|||||||
# PLEASE DO NOT EDIT IT DIRECTLY.
|
# PLEASE DO NOT EDIT IT DIRECTLY.
|
||||||
#
|
#
|
||||||
|
|
||||||
FROM alpine:3.16
|
FROM alpine:3.18
|
||||||
|
|
||||||
# dependencies required for running "phpize"
|
# dependencies required for running "phpize"
|
||||||
# these get automatically installed and removed by "docker-php-ext-*" (unless they're already installed)
|
# these get automatically installed and removed by "docker-php-ext-*" (unless they're already installed)
|
@ -4,7 +4,7 @@
|
|||||||
# PLEASE DO NOT EDIT IT DIRECTLY.
|
# PLEASE DO NOT EDIT IT DIRECTLY.
|
||||||
#
|
#
|
||||||
|
|
||||||
FROM alpine:3.16
|
FROM alpine:3.18
|
||||||
|
|
||||||
# dependencies required for running "phpize"
|
# dependencies required for running "phpize"
|
||||||
# these get automatically installed and removed by "docker-php-ext-*" (unless they're already installed)
|
# these get automatically installed and removed by "docker-php-ext-*" (unless they're already installed)
|
@ -4,7 +4,7 @@
|
|||||||
# PLEASE DO NOT EDIT IT DIRECTLY.
|
# PLEASE DO NOT EDIT IT DIRECTLY.
|
||||||
#
|
#
|
||||||
|
|
||||||
FROM alpine:3.16
|
FROM alpine:3.18
|
||||||
|
|
||||||
# dependencies required for running "phpize"
|
# dependencies required for running "phpize"
|
||||||
# these get automatically installed and removed by "docker-php-ext-*" (unless they're already installed)
|
# these get automatically installed and removed by "docker-php-ext-*" (unless they're already installed)
|
@ -4,7 +4,7 @@
|
|||||||
# PLEASE DO NOT EDIT IT DIRECTLY.
|
# PLEASE DO NOT EDIT IT DIRECTLY.
|
||||||
#
|
#
|
||||||
|
|
||||||
FROM alpine:3.16
|
FROM alpine:3.18
|
||||||
|
|
||||||
# dependencies required for running "phpize"
|
# dependencies required for running "phpize"
|
||||||
# these get automatically installed and removed by "docker-php-ext-*" (unless they're already installed)
|
# these get automatically installed and removed by "docker-php-ext-*" (unless they're already installed)
|
@ -4,7 +4,7 @@
|
|||||||
# PLEASE DO NOT EDIT IT DIRECTLY.
|
# PLEASE DO NOT EDIT IT DIRECTLY.
|
||||||
#
|
#
|
||||||
|
|
||||||
FROM alpine:3.16
|
FROM alpine:3.18
|
||||||
|
|
||||||
# dependencies required for running "phpize"
|
# dependencies required for running "phpize"
|
||||||
# these get automatically installed and removed by "docker-php-ext-*" (unless they're already installed)
|
# these get automatically installed and removed by "docker-php-ext-*" (unless they're already installed)
|
@ -4,7 +4,7 @@
|
|||||||
# PLEASE DO NOT EDIT IT DIRECTLY.
|
# PLEASE DO NOT EDIT IT DIRECTLY.
|
||||||
#
|
#
|
||||||
|
|
||||||
FROM alpine:3.16
|
FROM alpine:3.18
|
||||||
|
|
||||||
# dependencies required for running "phpize"
|
# dependencies required for running "phpize"
|
||||||
# these get automatically installed and removed by "docker-php-ext-*" (unless they're already installed)
|
# these get automatically installed and removed by "docker-php-ext-*" (unless they're already installed)
|
@ -4,7 +4,7 @@
|
|||||||
# PLEASE DO NOT EDIT IT DIRECTLY.
|
# PLEASE DO NOT EDIT IT DIRECTLY.
|
||||||
#
|
#
|
||||||
|
|
||||||
FROM alpine:3.16
|
FROM alpine:3.18
|
||||||
|
|
||||||
# dependencies required for running "phpize"
|
# dependencies required for running "phpize"
|
||||||
# these get automatically installed and removed by "docker-php-ext-*" (unless they're already installed)
|
# these get automatically installed and removed by "docker-php-ext-*" (unless they're already installed)
|
@ -4,7 +4,7 @@
|
|||||||
# PLEASE DO NOT EDIT IT DIRECTLY.
|
# PLEASE DO NOT EDIT IT DIRECTLY.
|
||||||
#
|
#
|
||||||
|
|
||||||
FROM alpine:3.16
|
FROM alpine:3.18
|
||||||
|
|
||||||
# dependencies required for running "phpize"
|
# dependencies required for running "phpize"
|
||||||
# these get automatically installed and removed by "docker-php-ext-*" (unless they're already installed)
|
# these get automatically installed and removed by "docker-php-ext-*" (unless they're already installed)
|
@ -4,7 +4,7 @@
|
|||||||
# PLEASE DO NOT EDIT IT DIRECTLY.
|
# PLEASE DO NOT EDIT IT DIRECTLY.
|
||||||
#
|
#
|
||||||
|
|
||||||
FROM alpine:3.16
|
FROM alpine:3.18
|
||||||
|
|
||||||
# dependencies required for running "phpize"
|
# dependencies required for running "phpize"
|
||||||
# these get automatically installed and removed by "docker-php-ext-*" (unless they're already installed)
|
# these get automatically installed and removed by "docker-php-ext-*" (unless they're already installed)
|
@ -4,7 +4,7 @@
|
|||||||
# PLEASE DO NOT EDIT IT DIRECTLY.
|
# PLEASE DO NOT EDIT IT DIRECTLY.
|
||||||
#
|
#
|
||||||
|
|
||||||
FROM alpine:3.16
|
FROM alpine:3.18
|
||||||
|
|
||||||
# dependencies required for running "phpize"
|
# dependencies required for running "phpize"
|
||||||
# these get automatically installed and removed by "docker-php-ext-*" (unless they're already installed)
|
# these get automatically installed and removed by "docker-php-ext-*" (unless they're already installed)
|
@ -4,7 +4,7 @@
|
|||||||
# PLEASE DO NOT EDIT IT DIRECTLY.
|
# PLEASE DO NOT EDIT IT DIRECTLY.
|
||||||
#
|
#
|
||||||
|
|
||||||
FROM alpine:3.16
|
FROM alpine:3.18
|
||||||
|
|
||||||
# dependencies required for running "phpize"
|
# dependencies required for running "phpize"
|
||||||
# these get automatically installed and removed by "docker-php-ext-*" (unless they're already installed)
|
# these get automatically installed and removed by "docker-php-ext-*" (unless they're already installed)
|
@ -4,7 +4,7 @@
|
|||||||
# PLEASE DO NOT EDIT IT DIRECTLY.
|
# PLEASE DO NOT EDIT IT DIRECTLY.
|
||||||
#
|
#
|
||||||
|
|
||||||
FROM alpine:3.16
|
FROM alpine:3.18
|
||||||
|
|
||||||
# dependencies required for running "phpize"
|
# dependencies required for running "phpize"
|
||||||
# these get automatically installed and removed by "docker-php-ext-*" (unless they're already installed)
|
# these get automatically installed and removed by "docker-php-ext-*" (unless they're already installed)
|
@ -32,12 +32,12 @@
|
|||||||
"buster/apache",
|
"buster/apache",
|
||||||
"buster/fpm",
|
"buster/fpm",
|
||||||
"buster/zts",
|
"buster/zts",
|
||||||
|
"alpine3.18/cli",
|
||||||
|
"alpine3.18/fpm",
|
||||||
|
"alpine3.18/zts",
|
||||||
"alpine3.17/cli",
|
"alpine3.17/cli",
|
||||||
"alpine3.17/fpm",
|
"alpine3.17/fpm",
|
||||||
"alpine3.17/zts",
|
"alpine3.17/zts"
|
||||||
"alpine3.16/cli",
|
|
||||||
"alpine3.16/fpm",
|
|
||||||
"alpine3.16/zts"
|
|
||||||
],
|
],
|
||||||
"version": "8.1.18"
|
"version": "8.1.18"
|
||||||
},
|
},
|
||||||
@ -54,12 +54,12 @@
|
|||||||
"buster/apache",
|
"buster/apache",
|
||||||
"buster/fpm",
|
"buster/fpm",
|
||||||
"buster/zts",
|
"buster/zts",
|
||||||
|
"alpine3.18/cli",
|
||||||
|
"alpine3.18/fpm",
|
||||||
|
"alpine3.18/zts",
|
||||||
"alpine3.17/cli",
|
"alpine3.17/cli",
|
||||||
"alpine3.17/fpm",
|
"alpine3.17/fpm",
|
||||||
"alpine3.17/zts",
|
"alpine3.17/zts"
|
||||||
"alpine3.16/cli",
|
|
||||||
"alpine3.16/fpm",
|
|
||||||
"alpine3.16/zts"
|
|
||||||
],
|
],
|
||||||
"version": "8.1.19RC1"
|
"version": "8.1.19RC1"
|
||||||
},
|
},
|
||||||
@ -76,12 +76,12 @@
|
|||||||
"buster/apache",
|
"buster/apache",
|
||||||
"buster/fpm",
|
"buster/fpm",
|
||||||
"buster/zts",
|
"buster/zts",
|
||||||
|
"alpine3.18/cli",
|
||||||
|
"alpine3.18/fpm",
|
||||||
|
"alpine3.18/zts",
|
||||||
"alpine3.17/cli",
|
"alpine3.17/cli",
|
||||||
"alpine3.17/fpm",
|
"alpine3.17/fpm",
|
||||||
"alpine3.17/zts",
|
"alpine3.17/zts"
|
||||||
"alpine3.16/cli",
|
|
||||||
"alpine3.16/fpm",
|
|
||||||
"alpine3.16/zts"
|
|
||||||
],
|
],
|
||||||
"version": "8.2.5"
|
"version": "8.2.5"
|
||||||
},
|
},
|
||||||
@ -98,12 +98,12 @@
|
|||||||
"buster/apache",
|
"buster/apache",
|
||||||
"buster/fpm",
|
"buster/fpm",
|
||||||
"buster/zts",
|
"buster/zts",
|
||||||
|
"alpine3.18/cli",
|
||||||
|
"alpine3.18/fpm",
|
||||||
|
"alpine3.18/zts",
|
||||||
"alpine3.17/cli",
|
"alpine3.17/cli",
|
||||||
"alpine3.17/fpm",
|
"alpine3.17/fpm",
|
||||||
"alpine3.17/zts",
|
"alpine3.17/zts"
|
||||||
"alpine3.16/cli",
|
|
||||||
"alpine3.16/fpm",
|
|
||||||
"alpine3.16/zts"
|
|
||||||
],
|
],
|
||||||
"version": "8.2.6RC1"
|
"version": "8.2.6RC1"
|
||||||
}
|
}
|
||||||
|
@ -87,6 +87,7 @@ for version in "${versions[@]}"; do
|
|||||||
for suite in \
|
for suite in \
|
||||||
bullseye \
|
bullseye \
|
||||||
buster \
|
buster \
|
||||||
|
alpine3.18 \
|
||||||
alpine3.17 \
|
alpine3.17 \
|
||||||
alpine3.16 \
|
alpine3.16 \
|
||||||
; do
|
; do
|
||||||
@ -94,6 +95,10 @@ for version in "${versions[@]}"; do
|
|||||||
if [ "$rcVersion" = '8.0' ] && [[ "$suite" = alpine* ]] && [ "$suite" != 'alpine3.16' ]; then
|
if [ "$rcVersion" = '8.0' ] && [[ "$suite" = alpine* ]] && [ "$suite" != 'alpine3.16' ]; then
|
||||||
continue
|
continue
|
||||||
fi
|
fi
|
||||||
|
# https://github.com/docker-library/php/pull/1405
|
||||||
|
if [ "$suite" = 'alpine3.16' ] && [ "$rcVersion" != '8.0' ]; then
|
||||||
|
continue
|
||||||
|
fi
|
||||||
for variant in cli apache fpm zts; do
|
for variant in cli apache fpm zts; do
|
||||||
if [[ "$suite" = alpine* ]]; then
|
if [[ "$suite" = alpine* ]]; then
|
||||||
if [ "$variant" = 'apache' ]; then
|
if [ "$variant" = 'apache' ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user