add mbstring redis and pgsql to php7.2 build
This commit is contained in:
@@ -15,8 +15,8 @@ RUN apt-get update && apt-get install -y software-properties-common python-softw
|
||||
&& LC_ALL=C.UTF-8 add-apt-repository -y ppa:ondrej/php \
|
||||
&& apt-get update && apt-get install -y \
|
||||
curl nano sed libwww-perl htop ca-certificates \
|
||||
php7.2 php7.2-cli php7.2-fpm php-curl php-pear php-mcrypt php-zip php-mbstring php-xml \
|
||||
php-pgsql php-redis php-soap \
|
||||
php7.2 php7.2-cli php7.2-fpm php7.2-curl php-pear php-mcrypt php-zip php7.2-mbstring php-xml \
|
||||
php7.2-pgsql php7.2-redis php-soap \
|
||||
\
|
||||
&& apt-cache pkgnames | grep php7.2 \
|
||||
&& rm /usr/bin/php && ln -s /usr/bin/php7.2 /usr/bin/php \
|
||||
|
||||
@@ -12,6 +12,9 @@ build() {
|
||||
#test
|
||||
docker run --rm --entrypoint php xaicorp/php:${version} --version | grep ${version}
|
||||
docker run --rm --entrypoint php xaicorp/php:${version} -m | grep curl
|
||||
docker run --rm --entrypoint php xaicorp/php:${version} -m | grep pgsql
|
||||
docker run --rm --entrypoint php xaicorp/php:${version} -m | grep redis
|
||||
docker run --rm --entrypoint php xaicorp/php:${version} -m | grep mbstring
|
||||
|
||||
#register artifact
|
||||
docker tag xaicorp/php:${version} dkregistry.xai-corp.net:5000/xaicorp/php:${version}
|
||||
@@ -36,14 +39,14 @@ build_dev() {
|
||||
build 7.0
|
||||
build_dev 7.0
|
||||
|
||||
#build 7.1
|
||||
#build_dev 7.1
|
||||
#
|
||||
#build 7.2
|
||||
#build_dev 7.2
|
||||
build 7.1
|
||||
build_dev 7.1
|
||||
|
||||
build 7.3
|
||||
build_dev 7.3
|
||||
build 7.2
|
||||
build_dev 7.2
|
||||
|
||||
#build 7.3
|
||||
#build_dev 7.3
|
||||
|
||||
exit
|
||||
|
||||
|
||||
Reference in New Issue
Block a user