Skip to content

Commit

Permalink
Ensure that the compute node Dockerfile can build
Browse files Browse the repository at this point in the history
  • Loading branch information
ctring committed Aug 8, 2023
1 parent 8052d82 commit 8046951
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Dockerfile.compute-node
Original file line number Diff line number Diff line change
Expand Up @@ -715,7 +715,7 @@ FROM build-deps AS neon-pg-ext-build
# COPY --from=rdkit-pg-build /usr/local/pgsql/ /usr/local/pgsql/
# COPY --from=pg-uuidv7-pg-build /usr/local/pgsql/ /usr/local/pgsql/
# COPY --from=pg-roaringbitmap-pg-build /usr/local/pgsql/ /usr/local/pgsql/
# COPY --from=pg-embedding-pg-build /usr/local/pgsql/ /usr/local/pgsql/
COPY --from=pg-embedding-pg-build /usr/local/pgsql/ /usr/local/pgsql/
COPY pgxn/ pgxn/

RUN make -j $(getconf _NPROCESSORS_ONLN) \
Expand Down Expand Up @@ -758,7 +758,8 @@ 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
RUN cd /usr/local/pgsql/bin && rm ecpg

# Remove headers that we won't need anymore - we've completed installation of all extensions
RUN rm -r /usr/local/pgsql/include
Expand Down

0 comments on commit 8046951

Please sign in to comment.