Skip to content

Commit 8ebe66e

Browse files
committed
Add libmagic.so needed in python3.8 environment
1 parent 5eff6af commit 8ebe66e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

make_layer.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ docker run --rm -v $(pwd):/foo -w /foo lambci/lambda:build-$RUNTIME \
2020
cp --verbose /usr/lib64/libarchive.so.13 lib/libarchive.so && \
2121
cp --verbose /usr/lib64/libarchive.so.13 lib/libarchive.so.13 && \
2222
cp --verbose /usr/lib64/liblzo2.so.2 lib/ && \
23+
cp --verbose /usr/lib64/libmagic.so.1 lib/ && \
2324
chown --verbose $(id --user):$(id --group) lib/* \
2425
"
2526
docker run --user $(id --user):$(id --group) --rm -v $(pwd):/foo -w /foo lambci/lambda:build-$RUNTIME \

0 commit comments

Comments
 (0)