diff --git a/Dockerfile b/Dockerfile index 7cc81f0..2368212 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,8 @@ # syntax=docker/dockerfile:1 ARG PG_MAJOR=17 -FROM postgres:$PG_MAJOR +ARG DEBIAN_CODENAME=bookworm +FROM postgres:$PG_MAJOR-$DEBIAN_CODENAME ARG PG_MAJOR ADD https://github.com/pgvector/pgvector.git#v0.8.0 /tmp/pgvector diff --git a/Makefile b/Makefile index 7a4b88c..6fdede0 100644 --- a/Makefile +++ b/Makefile @@ -76,4 +76,4 @@ docker: .PHONY: docker-release docker-release: - docker buildx build --push --pull --no-cache --platform linux/amd64,linux/arm64 --build-arg PG_MAJOR=$(PG_MAJOR) -t pgvector/pgvector:pg$(PG_MAJOR) -t pgvector/pgvector:$(EXTVERSION)-pg$(PG_MAJOR) . + docker buildx build --push --pull --no-cache --platform linux/amd64,linux/arm64 --build-arg PG_MAJOR=$(PG_MAJOR) --build-arg DEBIAN_CODENAME=bookworm -t pgvector/pgvector:pg$(PG_MAJOR) -t pgvector/pgvector:pg$(PG_MAJOR)-bookworm -t pgvector/pgvector:$(EXTVERSION)-pg$(PG_MAJOR) -t pgvector/pgvector:$(EXTVERSION)-pg$(PG_MAJOR)-bookworm .