Skip to content

Commit b461ec0

Browse files
authored
fix: include libexpat.so.1 in the titiler code package (#182)
1 parent b01e2b0 commit b461ec0

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lib/titiler-pgstac-api/runtime/Dockerfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ RUN dnf install -y gcc-c++ findutils
1010
COPY titiler-pgstac-api/runtime/requirements.txt requirements.txt
1111
RUN python -m pip install -r requirements.txt "mangum>=0.14,<0.15" -t /asset
1212

13+
# copy libexpat.so.1 into a location included in LD_LIBRARY_PATH in the Lambda runtime environment
14+
# (/usr/lib64 is not available in the Lambda runtime, just the build environment)
15+
RUN cp /usr/lib64/libexpat.so.1 /asset/
16+
1317
# Remove system dependencies
1418
RUN dnf remove -y gcc-c++
1519

0 commit comments

Comments
 (0)