-
Notifications
You must be signed in to change notification settings - Fork 167
Development
Karel Ledru-Mathe edited this page May 23, 2017
·
8 revisions
To build a new version of the Wordpress images for each php version, replace the version variable in the command below. It will build and push to the hub 3 images for php-5.6
, php-7.0
and php7.1
with the proper tags.
version="0.15.0" &&
docker build --no-cache -t visiblevc/wordpress:latest-php5.6 -t "visiblevc/wordpress:$version-php5.6" ./php5.6 &&
docker build --no-cache -t visiblevc/wordpress:latest-php7.0 -t "visiblevc/wordpress:$version-php7.0" ./php7.0 &&
docker build --no-cache -t visiblevc/wordpress:latest -t visiblevc/wordpress:latest-php7.1 -t "visiblevc/wordpress:$version" -t "visiblevc/wordpress:$version-php7.1" ./php7.1 &&
docker push visiblevc/wordpress