Skip to content

Commit

Permalink
Added missing packge for LVVM-JIT and fixed a musl-oudated dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
expaso committed Nov 13, 2022
1 parent ac96b82 commit a0ba447
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions timescaledb/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ RUN set -ex \
&& mkdir -p /build/ \
&& git clone https://github.com/timescale/timescaledb /build/timescaledb \
\
&& apk add --no-cache -u musl \
&& apk add --no-cache --virtual .build-deps \
coreutils \
dpkg-dev dpkg \
Expand Down Expand Up @@ -83,8 +84,13 @@ RUN apk add --no-cache \
postgresql14-jit=${POSTGRES_VERSION} \
postgresql14=${POSTGRES_VERSION} \
postgresql14-dev=${POSTGRES_VERSION} \
postgresql14-contrib-jit=${POSTGRES_VERSION} \
postgresql14-contrib=${POSTGRES_VERSION}

# Add JIT support
RUN apk add --no-cache \
-u llvm12-libs

# --------------------------------------
# Add previous PostgreSql 12 (for pg_upgrade reasons)
# --------------------------------------
Expand Down Expand Up @@ -116,6 +122,7 @@ RUN set -ex \
&& mkdir -p /build/ \
&& git clone https://github.com/timescale/timescaledb /build/timescaledb \
\
&& apk add --no-cache -u musl \
&& apk add --no-cache --virtual .build-deps \
coreutils \
dpkg-dev dpkg \
Expand Down Expand Up @@ -150,6 +157,7 @@ RUN set -ex \
tar \
&& mkdir -p /build/ \
&& git clone https://github.com/postgres/pgagent /build/pgagent \
&& apk add --no-cache -u musl \
&& apk add --no-cache --virtual .build-deps \
coreutils \
gcc \
Expand Down

0 comments on commit a0ba447

Please sign in to comment.