Skip to content

Commit

Permalink
Replace docker-compose with docker compose in Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
eoan-ermine authored Aug 17, 2023
1 parent 77ca06c commit e3fa801
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 @@ -83,14 +83,14 @@ format:
# Build and run service in docker environment
.PHONY: docker-start-service-debug docker-start-service-release
docker-start-service-debug docker-start-service-release: docker-start-service-%:
@docker-compose run -p 8080:8080 --rm service_template-container $(MAKE) -- --in-docker-start-$*
@docker compose run -p 8080:8080 --rm service_template-container $(MAKE) -- --in-docker-start-$*

# Start specific target in docker environment
.PHONY: docker-cmake-debug docker-build-debug docker-test-debug docker-clean-debug docker-install-debug docker-cmake-release docker-build-release docker-test-release docker-clean-release docker-install-release
docker-cmake-debug docker-build-debug docker-test-debug docker-clean-debug docker-install-debug docker-cmake-release docker-build-release docker-test-release docker-clean-release docker-install-release: docker-%:
docker-compose run --rm service_template-container $(MAKE) $*
docker compose run --rm service_template-container $(MAKE) $*

# Stop docker container and cleanup data
.PHONY: docker-clean-data
docker-clean-data:
@docker-compose down -v
@docker compose down -v

0 comments on commit e3fa801

Please sign in to comment.