Skip to content

Commit

Permalink
Include "libcrypt*" and "libcurl*" in the layer
Browse files Browse the repository at this point in the history
  • Loading branch information
moznion committed Mar 7, 2020
1 parent 0870e91 commit 833ded0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions scripts/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,9 @@ cd "/opt" || exit 1
cp "${BASE_DIR}/bootstrap" .
chmod 755 'bootstrap'

# XXX copy some libs for workaround: https://github.com/moznion/aws-lambda-perl5-layer/issues/6
cp -R /lib64/libcrypt* ./lib/
cp -R /usr/lib64/libcurl* ./lib/

zip -r "${BASE_DIR}/lambda-layer-perl-${TAG}.zip" .

0 comments on commit 833ded0

Please sign in to comment.