Skip to content

Commit

Permalink
Make sure Travis does not say "Too much output"
Browse files Browse the repository at this point in the history
  • Loading branch information
Nyholm committed Dec 19, 2019
1 parent 582d5bd commit 8e3ed2e
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions runtime/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -24,28 +24,28 @@ export/console.zip: layers/console/bootstrap
# Build Docker images
docker-images:
# Build the base environment (without PHP)
cd base ; docker build --file base.Dockerfile -t bref/tmp/step-1/build-environment .
cd base ; docker build --file base.Dockerfile -t bref/tmp/step-1/build-environment ${DOCKER_BUILD_FLAGS} .
# Build the `bref/build-php-XX` images
# (build only the first `FROM` section of the Dockerfile)
cd base ; docker build --file php-72.Dockerfile -t bref/build-php-72 --target build-environment .
cd base ; docker build --file php-73.Dockerfile -t bref/build-php-73 --target build-environment .
cd base ; docker build --file php-74.Dockerfile -t bref/build-php-74 --target build-environment .
cd base ; docker build --file php-72.Dockerfile -t bref/build-php-72 --target build-environment ${DOCKER_BUILD_FLAGS} .
cd base ; docker build --file php-73.Dockerfile -t bref/build-php-73 --target build-environment ${DOCKER_BUILD_FLAGS} .
cd base ; docker build --file php-74.Dockerfile -t bref/build-php-74 --target build-environment ${DOCKER_BUILD_FLAGS} .
# Build the whole Dockerfile to generate the cleaned images that will be used in the next step
cd base ; docker build --file php-72.Dockerfile -t bref/tmp/cleaned-build-php-72 .
cd base ; docker build --file php-73.Dockerfile -t bref/tmp/cleaned-build-php-73 .
cd base ; docker build --file php-74.Dockerfile -t bref/tmp/cleaned-build-php-74 .
cd base ; docker build --file php-72.Dockerfile -t bref/tmp/cleaned-build-php-72 ${DOCKER_BUILD_FLAGS} .
cd base ; docker build --file php-73.Dockerfile -t bref/tmp/cleaned-build-php-73 ${DOCKER_BUILD_FLAGS} .
cd base ; docker build --file php-74.Dockerfile -t bref/tmp/cleaned-build-php-74 ${DOCKER_BUILD_FLAGS} .
# - function
cd layers/function ; docker build -t bref/php-72 --build-arg PHP_VERSION=72 .
cd layers/function ; docker build -t bref/php-73 --build-arg PHP_VERSION=73 .
cd layers/function ; docker build -t bref/php-74 --build-arg PHP_VERSION=74 .
cd layers/function ; docker build -t bref/php-72 --build-arg PHP_VERSION=72 ${DOCKER_BUILD_FLAGS} .
cd layers/function ; docker build -t bref/php-73 --build-arg PHP_VERSION=73 ${DOCKER_BUILD_FLAGS} .
cd layers/function ; docker build -t bref/php-74 --build-arg PHP_VERSION=74 ${DOCKER_BUILD_FLAGS} .
# - fpm
cd layers/fpm ; docker build -t bref/php-72-fpm --build-arg PHP_VERSION=72 .
cd layers/fpm ; docker build -t bref/php-73-fpm --build-arg PHP_VERSION=73 .
cd layers/fpm ; docker build -t bref/php-74-fpm --build-arg PHP_VERSION=74 .
cd layers/fpm ; docker build -t bref/php-72-fpm --build-arg PHP_VERSION=72 ${DOCKER_BUILD_FLAGS} .
cd layers/fpm ; docker build -t bref/php-73-fpm --build-arg PHP_VERSION=73 ${DOCKER_BUILD_FLAGS} .
cd layers/fpm ; docker build -t bref/php-74-fpm --build-arg PHP_VERSION=74 ${DOCKER_BUILD_FLAGS} .
# Other Docker images
cd layers/fpm-dev ; docker build -t bref/php-72-fpm-dev --build-arg PHP_VERSION=72 .
cd layers/fpm-dev ; docker build -t bref/php-73-fpm-dev --build-arg PHP_VERSION=73 .
cd layers/fpm-dev ; docker build -t bref/php-74-fpm-dev --build-arg PHP_VERSION=74 .
cd layers/web; docker build -t bref/fpm-dev-gateway .
cd layers/fpm-dev ; docker build -t bref/php-72-fpm-dev --build-arg PHP_VERSION=72 ${DOCKER_BUILD_FLAGS} .
cd layers/fpm-dev ; docker build -t bref/php-73-fpm-dev --build-arg PHP_VERSION=73 ${DOCKER_BUILD_FLAGS} .
cd layers/fpm-dev ; docker build -t bref/php-74-fpm-dev --build-arg PHP_VERSION=74 ${DOCKER_BUILD_FLAGS} .
cd layers/web; docker build -t bref/fpm-dev-gateway ${DOCKER_BUILD_FLAGS} .
# Run tests
php layers/tests.php

0 comments on commit 8e3ed2e

Please sign in to comment.