use PHP 8.1 by default

This commit is contained in:
ralf 2022-12-02 15:35:09 +01:00
parent 37d678c3ab
commit 390bbf1f9e
2 changed files with 3 additions and 3 deletions

View File

@ -7,7 +7,7 @@ FROM ubuntu:20.04
MAINTAINER rb@egroupware.org
ARG VERSION=dev-master
ARG PHP_VERSION=7.4
ARG PHP_VERSION=8.1
# keeping build-arg in environment for entrypoint.sh
ENV VERSION=$VERSION

View File

@ -3,7 +3,7 @@
cd $(dirname $0)
DEFAULT_PHP_VERSION=7.4
DEFAULT_PHP_VERSION=8.1
PHP_VERSION=$DEFAULT_PHP_VERSION
if [[ $1 =~ ^[78]\.[0-9]$ ]]
@ -49,4 +49,4 @@ docker build --no-cache --build-arg "VERSION=$VERSION" --build-arg "PHP_VERSION=
docker tag egroupware/egroupware:$TAG egroupware/egroupware:$BRANCH
docker push egroupware/egroupware:$BRANCH
}
}
}