File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 1
1
ARG VERSION=17-bookworm
2
- ARG OS
3
- ARG ARCH
4
2
5
3
# Use the base image
6
4
FROM postgres:${VERSION}
7
-
5
+ ARG VERSION
6
+ ARG SOURCE
8
7
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"
11
10
12
11
# Install packages postgis and pgvector
13
12
ENV POSTGIS_MAJOR=3
Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ docker: docker-dep
19
19
--build-arg ARCH=${ARCH} \
20
20
--build-arg OS=${OS} \
21
21
--build-arg VERSION=${VERSION} \
22
+ --build-arg SOURCE=${DOCKER_REPO} \
22
23
-f Dockerfile .
23
24
24
25
# Push the docker image
You can’t perform that action at this time.
0 commit comments