From 142b645834bc1ad3c6ebeeec05cff075af24ea75 Mon Sep 17 00:00:00 2001 From: Anastasia Lubennikova Date: Thu, 10 Aug 2023 16:20:52 +0300 Subject: [PATCH] Use normal build_tag, fix cleanup-layer --- Dockerfile.compute-node | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile.compute-node b/Dockerfile.compute-node index a50aa27b98..1abde0df6c 100644 --- a/Dockerfile.compute-node +++ b/Dockerfile.compute-node @@ -754,7 +754,7 @@ FROM neon-pg-ext-build AS postgres-cleanup-layer COPY --from=neon-pg-ext-build /usr/local/pgsql /usr/local/pgsql # Remove binaries from /bin/ that we won't use (or would manually copy & install otherwise) -RUN cd /usr/local/pgsql/bin && rm ecpg raster2pgsql shp2pgsql pgtopo_export pgtopo_import pgsql2shp +#RUN cd /usr/local/pgsql/bin && rm ecpg raster2pgsql shp2pgsql pgtopo_export pgtopo_import pgsql2shp # Remove headers that we won't need anymore - we've completed installation of all extensions RUN rm -r /usr/local/pgsql/include @@ -780,7 +780,7 @@ COPY --from=pg-anon-pg-build /extensions/ /extensions/ COPY --from=postgis-build /extensions/ /extensions/ COPY scripts/combine_control_files.py ./combine_control_files.py # 3534 is a BUILD_TAG of the recent uploaded build of neon-pg-ext-build -RUN python3 ./combine_control_files.py ${PG_VERSION} 3534 --public_extensions="anon,postgis" +RUN python3 ./combine_control_files.py ${PG_VERSION} ${BUILD_TAG} --public_extensions="anon,postgis" FROM scratch AS postgres-extensions # After the transition this layer will include all extensitons.