Skip to content

Commit

Permalink
added pycares lambda layer build script
Browse files Browse the repository at this point in the history
  • Loading branch information
sedrakpc committed Jun 28, 2022
1 parent 134056e commit fb67103
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions build-layer.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/bash

docker run -v "$PWD":/var/task "public.ecr.aws/sam/build-python3.8" /bin/sh -c "pip install -r requirements.txt -t python/lib/python3.8/site-packages/; exit"
zip -r pycares-lambda-layers.zip python > /dev/null
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
pycares==4.2.1

0 comments on commit fb67103

Please sign in to comment.