File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ in CloudNativePG.
2121## Supported Extensions
2222
2323- [ pgvector] ( pgvector ) - Open-source vector similarity search for PostgreSQL
24- - [ pgvector ] ( postgis ) - Open-source geospatial database extension for PostgreSQL
24+ - [ PostGIS ] ( postgis ) - Open-source geospatial database extension for PostgreSQL
2525
2626---
2727
Original file line number Diff line number Diff line change @@ -25,10 +25,12 @@ RUN mkdir -p /system /licenses && \
2525 while read -r lib; do \
2626 # Resolve the symlink to get the real file
2727 resolved=$(readlink -f "$lib" ); \
28+ # Copy the real file
29+ cp -a "$resolved" /system/
2830 # Base name of real file
2931 basename=$(basename "$resolved" ); \
30- # Copy the real file and all its symlinks
31- cp -a "$(dirname " $resolved ")/${basename%.so*}.so" * /system/; \
32+ # Copy all its symlinks
33+ cp -a "$(dirname " $lib ")/${basename%.so*}.so" * /system/; \
3234 done < /tmp/libraries.out && \
3335 # Get licenses
3436 for lib in $(find /system -maxdepth 1 -type f -name '*.so*' ); do \
You can’t perform that action at this time.
0 commit comments