Skip to content

Instantly share code, notes, and snippets.

@yuyasugano
Created October 6, 2020 11:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yuyasugano/b074ebf3e945e92f8075ce28bb33bde6 to your computer and use it in GitHub Desktop.
Save yuyasugano/b074ebf3e945e92f8075ce28bb33bde6 to your computer and use it in GitHub Desktop.
Lambda Layer test pandas package-layer.sh
#!/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