Skip to content

Commit

Permalink
Fix build, run docker compose instead of docker-compose (#65)
Browse files Browse the repository at this point in the history
> docker-compose -f example/docker-compose.yml down
> make: docker-compose: No such file or directory
> make: *** [Makefile:16: down] Error 127
  • Loading branch information
frodeaa authored Sep 11, 2024
1 parent c8e46dd commit f556517
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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 .
Expand Down

0 comments on commit f556517

Please sign in to comment.