Skip to content

Commit

Permalink
chore: fix ubuntu 18 lib collection order (#772)
Browse files Browse the repository at this point in the history
  • Loading branch information
pcnc authored Oct 24, 2023
1 parent 04e8008 commit 6710ba0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile-u18
Original file line number Diff line number Diff line change
Expand Up @@ -998,13 +998,13 @@ ARG postgresql_release

RUN mkdir -p /tmp/pg_binaries/${postgresql_major}
COPY --from=pg_binary_collection_base /usr/lib/postgresql/${postgresql_major} /tmp/pg_binaries/${postgresql_major}
COPY --from=pg_binary_collection_base /usr/lib/postgresql/lib /tmp/pg_binaries/${postgresql_major}/lib
COPY --from=pg_binary_collection_base /var/lib/postgresql/extension /tmp/pg_binaries/${postgresql_major}/lib
COPY --from=pg_binary_collection_base /usr/lib/aarch64-linux-gnu/libpq.so.5 /tmp/pg_binaries/${postgresql_major}/lib
COPY --from=pg_binary_collection_base /usr/lib/aarch64-linux-gnu/libpq.so.5 /tmp/pg_binaries/${postgresql_major}/libpq.so.5
COPY --from=pg_binary_collection_base /usr/lib/postgresql/lib /tmp/pg_binaries/${postgresql_major}/lib
COPY --from=pg_binary_collection_base /usr/share/postgresql/${postgresql_major} /tmp/pg_binaries/${postgresql_major}/share
COPY --from=pg_binary_collection_base /var/lib/postgresql/extension /tmp/pg_binaries/${postgresql_major}/share/extension

RUN cd /tmp/pg_binaries && \
tar czvf 18.04.tar.gz ${postgresql_major}/ && \
rm -rf ${postgresql_major}/

0 comments on commit 6710ba0

Please sign in to comment.