Skip to content

Commit 85c3143

Browse files
committed
chore: testing
Signed-off-by: Niccolò Fei <[email protected]>
1 parent bb34821 commit 85c3143

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

postgis/Dockerfile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff 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 \

0 commit comments

Comments
 (0)