Skip to content

Commit

Permalink
The variable was set in the Makefile, but set as an empty string
Browse files Browse the repository at this point in the history
  • Loading branch information
grigorescu committed Nov 26, 2024
1 parent f0b0c43 commit 1f6021d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# It'd be nice to keep these in sync with the defaults of the Dockerfiles
PYTHON_IMAGE_VER ?= 3.12
POSTGRES_IMAGE_VER ?= 12.3

.DEFAULT_GOAL := help

## toggle-prod: configure make to use the production stack
Expand Down Expand Up @@ -37,7 +41,7 @@ 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 build --build-arg PYTHON_IMAGE_VER=${PYTHON_IMAGE_VER} --build-arg POSTGRES_IMAGE_VER=${POSTGRES_IMAGE_VER} $(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)

Expand Down

0 comments on commit 1f6021d

Please sign in to comment.