Skip to content

Commit fb67103

Browse files
committed
added pycares lambda layer build script
1 parent 134056e commit fb67103

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

build-layer.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/bin/bash
2+
3+
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"
4+
zip -r pycares-lambda-layers.zip python > /dev/null

requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
pycares==4.2.1

0 commit comments

Comments
 (0)