Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion lambda2/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,11 @@
rm layer.zip

docker run --rm -v "$PWD":/tmp/layer lambci/yumda:2 bash -c "
yum install -y git-${GIT_VERSION} && \
yum install -y git-${GIT_VERSION} openssl-libs openssl-devel && \
cd /lambda/opt && \
# Copy required OpenSSL libraries
mkdir -p lib && \
cp -a /usr/lib64/libcrypto.so* lib/ && \
cp -a /usr/lib64/libssl.so* lib/ && \
zip -yr /tmp/layer/layer.zip .
"
Binary file modified lambda2/layer.zip
Binary file not shown.