mirror of
https://github.com/dcarrillo/docker-nginx.git
synced 2024-11-14 03:31:12 +00:00
Bump nginx to 1.26.1, Alpine to 3.19
This commit is contained in:
parent
ac2cad9244
commit
97051249a9
@ -1,4 +1,4 @@
|
||||
FROM alpine:3.18
|
||||
FROM alpine:3.19
|
||||
|
||||
ARG ARG_NGINX_VERSION
|
||||
|
||||
|
2
conf.env
2
conf.env
@ -1,2 +1,2 @@
|
||||
NGINX_VERSION=1.25.4
|
||||
NGINX_VERSION=1.26.1
|
||||
DOCKER_IMAGE=dcarrillo/nginx
|
||||
|
@ -10,7 +10,7 @@ fi
|
||||
trap _catch_err ERR
|
||||
trap _cleanup EXIT
|
||||
|
||||
ALPINE_VERSION="alpine:3.16"
|
||||
ALPINE_VERSION="alpine:3.19"
|
||||
LOCAL_DIR="$(cd "$(dirname "$0")" ; pwd -P)"
|
||||
# shellcheck disable=SC1090
|
||||
. "$LOCAL_DIR"/../conf.env
|
||||
@ -52,8 +52,8 @@ _check_status_code()
|
||||
|
||||
_setup_crypto_stuff
|
||||
|
||||
echo "Preparing dcarrillo/php"
|
||||
docker run --name php --rm -d dcarrillo/php > /dev/null
|
||||
echo "Preparing php"
|
||||
docker run --name php --rm -d php:fpm-alpine > /dev/null
|
||||
docker exec -i php sh -c "echo 'pm.status_path = /phpfpm_status' \
|
||||
>> /usr/local/etc/php-fpm.d/www.conf \
|
||||
&& kill -USR2 1"
|
||||
|
Loading…
Reference in New Issue
Block a user