File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11ARG POSTGRES_VERSION
22FROM postgres:${POSTGRES_VERSION}-trixie
33
4- ENV BUILD_DEPS="build-essential git clang llvm lld"
4+ ARG POSTGRES_VERSION
5+ ENV POSTGRES_VERSION=${POSTGRES_VERSION}
6+ ENV BUILD_DEPS="build-essential git clang llvm lld postgresql-server-dev-${POSTGRES_VERSION}"
57RUN apt-get update && \
68 DEBIAN_FRONTEND=noninteractive apt-get install -y ${BUILD_DEPS} && \
79 git clone --depth=1 https://github.com/citusdata/pg_cron /tmp/pg_cron && \
10+ mkdir -p /usr/local/share/postgresql/ && \
811 make -C /tmp/pg_cron \
9- CLANG="$(command -v clang)" \
10- LLVM_CONFIG="$(command -v llvm-config)" \
11- LLVM_AR="$(command -v llvm-ar)" \
12- LLVM_RANLIB="$(command -v llvm-ranlib)" \
13- LLVM_LTO="$(command -v llvm-lto)" && \
12+ CLANG="$(command -v clang)" \
13+ LLVM_CONFIG="$(command -v llvm-config)" \
14+ LLVM_AR="$(command -v llvm-ar)" \
15+ LLVM_RANLIB="$(command -v llvm-ranlib)" \
16+ LLVM_LTO="$(command -v llvm-lto)" && \
1417 make -C /tmp/pg_cron install && \
1518 rm -rf /tmp/pg_cron && \
1619 apt-get remove -y ${BUILD_DEPS} && \
You can’t perform that action at this time.
0 commit comments