Skip to content

Commit 4712e4b

Browse files
committed
Copy libtirpc.so from /usr/lib64
1 parent a555be6 commit 4712e4b

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

‎dockerfiles/Dockerfile‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -419,8 +419,10 @@ COPY --from=builder /opt/include/ $PREFIX/include/
419419
COPY --from=builder /opt/share/ $PREFIX/share/
420420
COPY --from=builder /opt/bin/ $PREFIX/bin/
421421

422-
# Install libtirpc runtime library required by ogrinfo
422+
# Install libtirpc runtime library required by ogr2ogr/ogrinfo (e.g. HDF4 driver).
423+
# Copy into $PREFIX/lib so the Lambda layer zip (which only packages /opt) includes it.
423424
RUN dnf install -y libtirpc && \
425+
cp /usr/lib64/libtirpc.so* $PREFIX/lib/ && \
424426
dnf clean all && \
425427
rm -rf /var/cache/dnf
426428

0 commit comments

Comments
 (0)