11# This file is auto generated from it's template,
22# see citusdata/tools/packaging_automation/templates/docker/alpine/alpine.tmpl.dockerfile.
3- FROM postgres:17.6 -alpine
4- ARG VERSION=13.2 .0
3+ FROM postgres:18.1 -alpine
4+ ARG VERSION=14.0 .0
55LABEL maintainer="Citus Data https://citusdata.com" \
66 org.label-schema.name="Citus" \
77 org.label-schema.description="Scalable PostgreSQL for multi-tenant and real-time workloads" \
@@ -12,21 +12,30 @@ LABEL maintainer="Citus Data https://citusdata.com" \
1212 org.label-schema.schema-version="1.0"
1313
1414# Build citus and delete all used libraries. Warning: Libraries installed in this section will be deleted after build completion
15- RUN apk add --no-cache --virtual builddeps \
16- build-base krb5-dev curl curl-dev openssl-dev ca-certificates \
17- llvm19-dev clang19 llvm19-libs \
18- lz4-dev zstd-dev libxslt-dev libxml2-dev icu-dev \
19- && apk add --no-cache libcurl \
20- && curl -sfLO "https://github.com/citusdata/citus/archive/v${VERSION}.tar.gz" \
21- && tar xzf "v${VERSION}.tar.gz" \
22- && cd "citus-${VERSION}" \
23- && ./configure --with-security-flags \
24- && make install \
25- && cd .. \
26- && rm -rf "citus-${VERSION}" "v${VERSION}.tar.gz" \
27- && apk del builddeps
28-
29-
15+ RUN apk add --no-cache \
16+ --virtual builddeps \
17+ build-base \
18+ krb5-dev \
19+ curl \
20+ curl-dev \
21+ openssl-dev \
22+ ca-certificates \
23+ clang19 \
24+ llvm19 \
25+ lz4-dev \
26+ zstd-dev \
27+ libxslt-dev \
28+ libxml2-dev \
29+ icu-dev && \
30+ apk add --no-cache libcurl && \
31+ curl -sfLO "https://github.com/citusdata/citus/archive/v${VERSION}.tar.gz" && \
32+ tar xzf "v${VERSION}.tar.gz" && \
33+ cd "citus-${VERSION}" && \
34+ ./configure --with-security-flags && \
35+ make install && \
36+ cd .. && \
37+ rm -rf "citus-${VERSION}" "v${VERSION}.tar.gz" && \
38+ apk del builddeps
3039
3140# --------End of Citus Build
3241
0 commit comments