Created
October 6, 2020 11:12
-
-
Save yuyasugano/b074ebf3e945e92f8075ce28bb33bde6 to your computer and use it in GitHub Desktop.
Lambda Layer test pandas package-layer.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
export PKG_DIR="python" | |
rm -rf ${PKG_DIR} && mkdir -p ${PKG_DIR} | |
docker run --rm -v $(pwd):/foo -w /foo lambci/lambda:build-python3.8 \ | |
pip install -r requirements.txt --no-deps -t ${PKG_DIR} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment