get rid of multistage build...
This commit is contained in:
parent
48cff2a0e6
commit
513af1169e
1 changed files with 6 additions and 6 deletions
|
@ -4,7 +4,7 @@ ARG FMT_DATE=2025-05-08
|
|||
|
||||
ARG BASE_IMAGE_TAG=${PG_MAJOR_VERSION}-${DEB_RELEASE}-${FMT_DATE}
|
||||
|
||||
FROM gitea.simcop2387.info/simcop2387/postgresql-container-base:${BASE_IMAGE_TAG} AS pgbuilder
|
||||
FROM gitea.simcop2387.info/simcop2387/postgresql-container-base:${BASE_IMAGE_TAG} AS final
|
||||
|
||||
ARG POSTGIS_VERSION=3.5.2
|
||||
ARG PGVECTOR_VERSION=v0.8.0
|
||||
|
@ -49,10 +49,10 @@ RUN git clone https://github.com/pgvector/pgvector --depth=1 --recursive -b ${PG
|
|||
WORKDIR /build/pgvector
|
||||
RUN make -j && make install
|
||||
|
||||
FROM gitea.simcop2387.info/simcop2387/postgresql-container-base:${BASE_IMAGE_TAG} AS final
|
||||
|
||||
COPY --from=pgbuilder /usr/share/postgresql/. /usr/share/posrgresql/
|
||||
COPY --from=pgbuilder /usr/lib/postgresql/. /usr/lib/postgresql/
|
||||
COPY --from=pgbuilder /usr/local/. /usr/local/
|
||||
# FROM gitea.simcop2387.info/simcop2387/postgresql-container-base:${BASE_IMAGE_TAG} AS final
|
||||
#
|
||||
# COPY --from=pgbuilder /usr/share/postgresql/. /usr/share/posrgresql/
|
||||
# COPY --from=pgbuilder /usr/lib/postgresql/. /usr/lib/postgresql/
|
||||
# COPY --from=pgbuilder /usr/local/. /usr/local/
|
||||
|
||||
RUN ls -lah /usr/share/posrgresql/*/extension/
|
||||
|
|
Loading…
Add table
Reference in a new issue