Use plv8 step

This commit is contained in:
Rory de Zoete
2022-08-23 11:16:38 +02:00
parent d65efba7c4
commit ef2f5e305c

View File

@@ -72,7 +72,9 @@ RUN mkdir /var/db && useradd -m -d /var/db/postgres postgres && \
chmod 0750 /var/db/postgres/compute && \
echo '/usr/local/lib' >> /etc/ld.so.conf && /sbin/ldconfig
COPY --from=pg-build --chown=postgres /usr/local/pgsql /usr/local/pgsql
# TODO: Check if we can make the extension setup more modular versus a linear build
# currently plv8-build copies the output /usr/local/pgsql from postgis-build#
COPY --from=plv8-build --chown=postgres /usr/local/pgsql /usr/local/pgsql
COPY --from=compute-tools --chown=postgres /home/nonroot/compute_tools/target/release/compute_ctl /usr/local/bin/compute_ctl
RUN apt update && \