bump postgres minor versions

pull/7102/head
Nils Dijk 2023-09-05 08:44:40 +00:00
parent 603cdf62b0
commit 497807a6b7
1 changed files with 2 additions and 4 deletions

View File

@ -56,7 +56,7 @@ USER citus
# build postgres versions separately for effective parrallelism and caching of already built versions when changing only certain versions # build postgres versions separately for effective parrallelism and caching of already built versions when changing only certain versions
FROM base AS pg14 FROM base AS pg14
RUN pgenv build 14.8 RUN pgenv build 14.9
RUN rm .pgenv/src/*.tar* RUN rm .pgenv/src/*.tar*
RUN make -C .pgenv/src/postgresql-*/ clean RUN make -C .pgenv/src/postgresql-*/ clean
RUN make -C .pgenv/src/postgresql-*/src/include install RUN make -C .pgenv/src/postgresql-*/src/include install
@ -68,7 +68,7 @@ RUN cp -r .pgenv/src .pgenv/pgsql-* .pgenv/config .pgenv-staging/
RUN rm .pgenv-staging/config/default.conf RUN rm .pgenv-staging/config/default.conf
FROM base AS pg15 FROM base AS pg15
RUN pgenv build 15.3 RUN pgenv build 15.4
RUN rm .pgenv/src/*.tar* RUN rm .pgenv/src/*.tar*
RUN make -C .pgenv/src/postgresql-*/ clean RUN make -C .pgenv/src/postgresql-*/ clean
RUN make -C .pgenv/src/postgresql-*/src/include install RUN make -C .pgenv/src/postgresql-*/src/include install
@ -148,8 +148,6 @@ RUN sudo pip3 install pipenv pipenv-shebang
RUN mkdir .bin RUN mkdir .bin
ENV PATH="/home/citus/.bin:${PATH}" ENV PATH="/home/citus/.bin:${PATH}"
RUN echo "cache buster 1"
# install citus-dev # install citus-dev
RUN git clone --branch feature/citus-dev-pipenv-shebang https://github.com/citusdata/tools.git citus-tools \ RUN git clone --branch feature/citus-dev-pipenv-shebang https://github.com/citusdata/tools.git citus-tools \
&& ( cd citus-tools/citus_dev && pipenv install ) \ && ( cd citus-tools/citus_dev && pipenv install ) \