Skip to content
Permalink
Browse files

rename apache dockerfile and add squash to build script

  • Loading branch information
duhon committed Nov 7, 2019
1 parent 4e1fee7 commit af30d337ce36bd66a90af7e0a0e89f89ff246f51
Showing with 1 addition and 1 deletion.
  1. +1 −1 build/build.sh
  2. 0 build/php/{apache-mod → apache}
@@ -3,7 +3,7 @@ set -ex
type=${1:-'fpm'}
ver=${2:-'7.3'}
mage=${3:-'2.3'}
docker build -f ./php/${type} -t duhon/php:${ver}-${type} --compress --force-rm --pull .
docker build -f ./php/${type} -t duhon/php:${ver}-${type} --compress --squash --force-rm --pull .
docker run --rm --name test -it duhon/php:${ver}-${type} bash -c 'git clone -b '${mage}' --depth=1 --single-branch https://github.com/magento/magento2.git /var/www/magento2ce && composer update && php -v && php -m && php -d memory_limit=-1 /var/www/magento2ce/vendor/bin/phpunit -c /var/www/magento2ce/dev/tests/unit/phpunit.xml.dist'
echo "docker push duhon/php:${ver}-${type}"

File renamed without changes.

0 comments on commit af30d33

Please sign in to comment.
You can’t perform that action at this time.