mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-28 16:59:28 +01:00
use PHP 8.1 by default
This commit is contained in:
parent
37d678c3ab
commit
390bbf1f9e
@ -7,7 +7,7 @@ FROM ubuntu:20.04
|
|||||||
MAINTAINER rb@egroupware.org
|
MAINTAINER rb@egroupware.org
|
||||||
|
|
||||||
ARG VERSION=dev-master
|
ARG VERSION=dev-master
|
||||||
ARG PHP_VERSION=7.4
|
ARG PHP_VERSION=8.1
|
||||||
|
|
||||||
# keeping build-arg in environment for entrypoint.sh
|
# keeping build-arg in environment for entrypoint.sh
|
||||||
ENV VERSION=$VERSION
|
ENV VERSION=$VERSION
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
cd $(dirname $0)
|
cd $(dirname $0)
|
||||||
|
|
||||||
DEFAULT_PHP_VERSION=7.4
|
DEFAULT_PHP_VERSION=8.1
|
||||||
PHP_VERSION=$DEFAULT_PHP_VERSION
|
PHP_VERSION=$DEFAULT_PHP_VERSION
|
||||||
|
|
||||||
if [[ $1 =~ ^[78]\.[0-9]$ ]]
|
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 tag egroupware/egroupware:$TAG egroupware/egroupware:$BRANCH
|
||||||
docker push egroupware/egroupware:$BRANCH
|
docker push egroupware/egroupware:$BRANCH
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user