diff --git a/libbeat/scripts/Makefile b/libbeat/scripts/Makefile index 52e942cce0de..137dded6b209 100755 --- a/libbeat/scripts/Makefile +++ b/libbeat/scripts/Makefile @@ -43,7 +43,7 @@ TEST_ENVIRONMENT?=false SYSTEM_TESTS?=false GOX_OS?=linux darwin windows solaris freebsd netbsd openbsd TESTING_ENVIRONMENT?=snapshot -DOCKER_COMPOSE?=docker-compose -f ${PWD}/../testing/environments/base.yml -f ${PWD}/../testing/environments/${TESTING_ENVIRONMENT}.yml -f docker-compose.yml +DOCKER_COMPOSE?=docker-compose -p ${TESTING_ENVIRONMENT} -f ${PWD}/../testing/environments/base.yml -f ${PWD}/../testing/environments/${TESTING_ENVIRONMENT}.yml -f docker-compose.yml DOCKER_CACHE?=1 # If set to 0, all docker images are created without cache GOPACKAGES_COMMA_SEP=$(subst $(space),$(comma),$(strip ${GOPACKAGES})) PYTHON_ENV?=${BUILD_DIR}/python-env diff --git a/testing/environments/Makefile b/testing/environments/Makefile index 406b3571972b..8a6bad667d78 100644 --- a/testing/environments/Makefile +++ b/testing/environments/Makefile @@ -8,7 +8,7 @@ start: stop: ${BASE_COMMAND} stop - ${BASE_COMMAND} rm -f + ${BASE_COMMAND} rm up: