Builds locally, checking actions
This commit is contained in:
parent
4ffe8bc943
commit
d873e91930
2 changed files with 14 additions and 5 deletions
|
@ -11,9 +11,9 @@ matrix:
|
|||
TO<ESCALEDB_VERSION:
|
||||
- 2.19.3
|
||||
HYPOPG_VERSION:
|
||||
-
|
||||
- 1.4.1
|
||||
PGVECTOR_VERSION:
|
||||
-
|
||||
- v0.8.0
|
||||
|
||||
jobs:
|
||||
build-base:
|
||||
|
|
|
@ -7,10 +7,9 @@ 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=3.5.2
|
||||
ARG PGVECTOR_VERSION=
|
||||
ARG PGXN_VERSION=
|
||||
ARG PGVECTOR_VERSION=v0.8.0
|
||||
ARG TIMESCALEDB_VERSION=2.19.3
|
||||
ARG HYPOPG_VERSION=
|
||||
ARG HYPOPG_VERSION=1.4.1
|
||||
|
||||
RUN apt update && apt install -y build-essential flex bison git yacc cmake \
|
||||
docbook-xsl-ns \
|
||||
|
@ -40,6 +39,16 @@ RUN git clone https://github.com/postgis/postgis --depth=1 --recursive -b ${POST
|
|||
WORKDIR /build/postgis
|
||||
RUN ./autogen.sh && ./configure --enable-lto && make -j && make install
|
||||
|
||||
WORKDIR /build
|
||||
RUN git clone https://github.com/HypoPG/hypopg --depth=1 --recursive -b ${HYPOPG_VERSION} /build/hypopg
|
||||
WORKDIR /build/hypopg
|
||||
RUN make -j && make install
|
||||
|
||||
WORKDIR /build
|
||||
RUN git clone https://github.com/pgvector/pgvector --depth=1 --recursive -b ${PGVECTOR_VERSION} /build/pgvector
|
||||
WORKDIR /build/pgvector
|
||||
RUN make -j && make install
|
||||
|
||||
FROM gitea.simcop2387.info/simcop2387/postgresql-container-base:${BASE_IMAGE_TAG}
|
||||
|
||||
COPY --from=pgbuilder /usr/share/postgresql/ /usr/share/posrgresql/
|
||||
|
|
Loading…
Add table
Reference in a new issue