Skip to content

Commit

Permalink
Pass vars through to the build command
Browse files Browse the repository at this point in the history
  • Loading branch information
grigorescu committed Nov 25, 2024
1 parent 425d031 commit f270bab
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ behave-translator: compose.override.yml
## build: rebuilds all your containers or a single one if CONTAINER is specified
.Phony: build
build: compose.override.yml
@docker compose up -d --no-deps --build $(CONTAINER)
@docker compose build --build-arg PYTHON_IMAGE_VER=${PYTHON_IMAGE_VER} --build-arg POSTGRES_IMAGE_VER=${POSTGRES_IMAGE_VER} $(CONTAINER)
@docker compose up -d --no-deps $(CONTAINER)
@docker compose restart $(CONTAINER)

## coverage.xml: generate coverage from test runs
Expand Down

0 comments on commit f270bab

Please sign in to comment.