File tree Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -7,9 +7,14 @@ export IMPORT_DEBUG=1
77# Install `import`
88IMPORT_BIN=" $IMPORT_CACHE /bin/import"
99mkdir -p " $( dirname " $IMPORT_BIN " ) "
10- curl -sfLS https://import.pw > " $IMPORT_BIN "
10+ curl -sfLS " https://import.pw" > " $IMPORT_BIN "
1111chmod +x " $IMPORT_BIN "
1212
13+ # Install `curl`
14+ IMPORT_CURL=" $IMPORT_CACHE /bin/curl"
15+ curl -sfLS " https://github.com/dtschan/curl-static/releases/download/v7.63.0/curl" > " $IMPORT_CURL "
16+ chmod +x " $IMPORT_CURL "
17+
1318# For now only the entrypoint file is copied into the lambda
1419mkdir -p " $( dirname " $DIST /$ENTRYPOINT " ) "
1520cp " $ENTRYPOINT " " $DIST /$ENTRYPOINT "
Original file line number Diff line number Diff line change 11#! /bin/bash
2+ # The static `curl` binary we download for AWS Lambda has the incorrect
3+ # location for the SSL Certs CA, so set the proper location in prod
4+ export CURL_CA_BUNDLE=" /etc/ssl/certs/ca-bundle.crt"
5+
26import " static-binaries@1.0.0"
37static_binaries jq
48
You can’t perform that action at this time.
0 commit comments