Skip to content

Commit c41e1ec

Browse files
committed
refactor: Add build target to Makefile for PostgreSQL image creation
1 parent 1b35474 commit c41e1ec

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

Makefile

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
1-
.PHONY: test
1+
PG_VERSION ?= 18
2+
3+
.PHONY: test build
24

35
test:
46
docker build -f .docker/Dockerfile.test -t postgres-extensor-test .
57
-docker rmi postgres-extensor-test > /dev/null
8+
9+
build:
10+
docker build -f .docker/Dockerfile -t ruxwez/postgres:$(PG_VERSION) --build-arg POSTGRES_VERSION=$(PG_VERSION) .

0 commit comments

Comments
 (0)