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
#!/usr/bin/env bash | |
# This script is supposed to be executed in docker container, for example like this: | |
# docker run -it --rm -v $DIR:/var/layer --entrypoint /var/layer/builder.sh lambci/lambda:build-python2.7 | |
set -e # exit if any command fails | |
set -u # prevent using an undefined variable | |
set -x # show executed commands | |
set -o pipefail # force pipelines to fail on the first non-zero status | |
echo "Building H24 Lambda bash layer..." |