fix Dockerfile.compute-node-v14

This commit is contained in:
Anastasia Lubennikova
2022-09-29 15:56:21 +03:00
parent d4dda80ed4
commit 414ca54823

View File

@@ -69,8 +69,7 @@ RUN wget https://github.com/postgrespro/pg_query_state/archive/refs/heads/master
export PATH="/usr/local/pgsql/bin:$PATH" && \
USE_PGXS=true PG_CONFIG=/usr/local/pgsql/bin/pg_config make -j $(getconf _NPROCESSORS_ONLN) && \
USE_PGXS=true PG_CONFIG=/usr/local/pgsql/bin/pg_config make -j $(getconf _NPROCESSORS_ONLN) install && \
echo 'trusted = true' >> /usr/local/pgsql/share/extension/pg_query_state.control && \
rm master.tar.gz
echo 'trusted = true' >> /usr/local/pgsql/share/extension/pg_query_state.control
FROM build-deps AS pg-wait-sampling-build
COPY --from=pg-build /usr/local/pgsql/ /usr/local/pgsql/
@@ -81,9 +80,7 @@ RUN wget https://github.com/postgrespro/pg_wait_sampling/archive/refs/heads/mast
export PATH="/usr/local/pgsql/bin:$PATH" && \
USE_PGXS=true PG_CONFIG=/usr/local/pgsql/bin/pg_config make -j $(getconf _NPROCESSORS_ONLN) && \
USE_PGXS=true PG_CONFIG=/usr/local/pgsql/bin/pg_config make -j $(getconf _NPROCESSORS_ONLN) install && \
echo 'trusted = true' >> /usr/local/pgsql/share/extension/pg_wait_sampling.control && \
rm master.tar.gz
echo 'trusted = true' >> /usr/local/pgsql/share/extension/pg_wait_sampling.control
#
# Layer "plv8-build"