Dockerfile now works for new tags
This commit is contained in:
parent
37976eab79
commit
d5740c480d
1 changed files with 7 additions and 3 deletions
|
@ -1,6 +1,10 @@
|
||||||
ARG BASE_IMAGE_TAG=latest
|
ARG PG_MAJOR_VERSION=17
|
||||||
|
ARG DEB_RELEASE=bookworm
|
||||||
|
ARG FMT_DATE=2025-05-08
|
||||||
|
|
||||||
FROM gitea.simcop2387.info/simcop2387/pg-container-base:${BASE_IMAGE_TAG} AS pgbuilder
|
ARG BASE_IMAGE_TAG=${PG_MAJOR_VERSION}-${DEB_RELEASE}-${FMT_DATE}
|
||||||
|
|
||||||
|
FROM gitea.simcop2387.info/simcop2387/postgresql-container-base:${BASE_IMAGE_TAG} AS pgbuilder
|
||||||
|
|
||||||
ARG POSTGIS_VERSION=
|
ARG POSTGIS_VERSION=
|
||||||
ARG PGVECTOR_VERSION=
|
ARG PGVECTOR_VERSION=
|
||||||
|
@ -19,7 +23,7 @@ RUN cd build && make -j && make install
|
||||||
# TODO UPDATE PGCONFIG
|
# TODO UPDATE PGCONFIG
|
||||||
# shared_preload_libraries = 'timescaledb'
|
# shared_preload_libraries = 'timescaledb'
|
||||||
|
|
||||||
FROM gitea.simcop2387.info/simcop2387/pg-container-base:${BASE_IMAGE_TAG}
|
FROM gitea.simcop2387.info/simcop2387/postgresql-container-base:${BASE_IMAGE_TAG}
|
||||||
|
|
||||||
COPY --from=pgbuilder /usr/share/postgresql/ /usr/share/posrgresql/
|
COPY --from=pgbuilder /usr/share/postgresql/ /usr/share/posrgresql/
|
||||||
COPY --from=pgbuilder /usr/lib/postgresql/ /usr/lib/postgresql/
|
COPY --from=pgbuilder /usr/lib/postgresql/ /usr/lib/postgresql/
|
||||||
|
|
Loading…
Add table
Reference in a new issue