Skip to content

Commit

Permalink
Fix docker runs on MacOS (#41)
Browse files Browse the repository at this point in the history
  • Loading branch information
apolukhin authored Oct 11, 2023
1 parent 30365f3 commit c7af20e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -86,12 +86,12 @@ 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 pg_service_template-container $(MAKE) -- --in-docker-start-$*
@$(DOCKER_COMPOSE) run -p 8080:8080 --rm pg_service_template-container make -- --in-docker-start-$*

# Start targets makefile 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 pg_service_template-container $(MAKE) $*
$(DOCKER_COMPOSE) run --rm pg_service_template-container make $*

# Stop docker container and remove PG data
.PHONY: docker-clean-data
Expand Down

0 comments on commit c7af20e

Please sign in to comment.