From f5565178d60113ce0037113f6077a996f5a1d992 Mon Sep 17 00:00:00 2001 From: Frode Aannevik Date: Wed, 11 Sep 2024 22:24:22 +0200 Subject: [PATCH] Fix build, run `docker compose` instead of `docker-compose` (#65) > docker-compose -f example/docker-compose.yml down > make: docker-compose: No such file or directory > make: *** [Makefile:16: down] Error 127 --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 3737a9f..b9752fe 100644 --- a/Makefile +++ b/Makefile @@ -13,11 +13,11 @@ build: .PHONY: down down: - docker-compose $(COMPOSE_DEFAULT_FLAGS) $@ + docker compose $(COMPOSE_DEFAULT_FLAGS) $@ test: down - docker-compose $(COMPOSE_DEFAULT_FLAGS) build - PYTEST_ADDOPTS="$(PYTEST_ADDOPTS)" docker-compose $(COMPOSE_DEFAULT_FLAGS) run --service-ports --rm end-to-end-tests + docker compose $(COMPOSE_DEFAULT_FLAGS) build + PYTEST_ADDOPTS="$(PYTEST_ADDOPTS)" docker compose $(COMPOSE_DEFAULT_FLAGS) run --service-ports --rm end-to-end-tests publish: build @docker buildx build --platform $(PLATFORMS) --tag $(TAG) --push .