Skip to content

Commit 9ea10d5

Browse files
committed
Updated
1 parent 7e449c7 commit 9ea10d5

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

Dockerfile

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
ARG VERSION=17-bookworm
2-
ARG OS
3-
ARG ARCH
42

53
# Use the base image
64
FROM postgres:${VERSION}
7-
5+
ARG VERSION
6+
ARG SOURCE
87
LABEL org.opencontainers.image.description="PostgreSQL image with primary/replica support" \
9-
org.opencontainers.image.source="https://github.com/mutablelogic/docker-postgres" \
10-
org.opencontainers.image.version="${VERSION}"
8+
org.opencontainers.image.source="$SOURCE" \
9+
org.opencontainers.image.version="$VERSION"
1110

1211
# Install packages postgis and pgvector
1312
ENV POSTGIS_MAJOR=3

Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ docker: docker-dep
1919
--build-arg ARCH=${ARCH} \
2020
--build-arg OS=${OS} \
2121
--build-arg VERSION=${VERSION} \
22+
--build-arg SOURCE=${DOCKER_REPO} \
2223
-f Dockerfile .
2324

2425
# Push the docker image

0 commit comments

Comments
 (0)