Skip to content

Instantly share code, notes, and snippets.

@yuyasugano
Created October 6, 2020 11:12
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?
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