Skip to content

Commit

Permalink
Only build PG13
Browse files Browse the repository at this point in the history
  • Loading branch information
svenklemm committed Jul 2, 2024
1 parent 772345b commit d76ecad
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 22 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/bitnami.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
strategy:
fail-fast: false
matrix:
pg: [14, 15, 16]
pg: [13]
base-image: [postgresql, postgresql-repmgr]

steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
strategy:
fail-fast: false
matrix:
pg: [14, 15, 16]
pg: [13]
oss: [ "", "-oss" ]
steps:
- uses: actions/checkout@v4
Expand Down
40 changes: 20 additions & 20 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -33,27 +33,27 @@ ARG OSS_ONLY
LABEL maintainer="Timescale https://www.timescale.com"


ARG PG_VERSION
RUN set -ex; \
apk update; \
apk add --no-cache \
postgresql${PG_VERSION}-plpython3
#ARG PG_VERSION
#RUN set -ex; \
# apk update; \
# apk add --no-cache \
# postgresql${PG_VERSION}-plpython3

ARG PGVECTOR_VERSION
RUN set -ex; \
apk update; \
apk add --no-cache --virtual .vector-deps \
postgresql${PG_VERSION}-dev \
git \
build-base \
clang15 \
llvm15-dev \
llvm15; \
git clone --branch ${PGVECTOR_VERSION} https://github.com/pgvector/pgvector.git /build/pgvector; \
cd /build/pgvector; \
make; \
make install; \
apk del .vector-deps
#ARG PGVECTOR_VERSION
#RUN set -ex; \
# apk update; \
# apk add --no-cache --virtual .vector-deps \
# postgresql${PG_VERSION}-dev \
# git \
# build-base \
# clang15 \
# llvm15-dev \
# llvm15; \
# git clone --branch ${PGVECTOR_VERSION} https://github.com/pgvector/pgvector.git /build/pgvector; \
# cd /build/pgvector; \
# make; \
# make install; \
# apk del .vector-deps

# install pgai only on pg16+ and not on 32 bit arm
ARG PGAI_VERSION
Expand Down

0 comments on commit d76ecad

Please sign in to comment.