agent-claw: automated task changes
This commit is contained in:
20
cdk/node_modules/@aws-cdk/asset-node-proxy-agent-v6/layer/build.sh
generated
vendored
Executable file
20
cdk/node_modules/@aws-cdk/asset-node-proxy-agent-v6/layer/build.sh
generated
vendored
Executable file
@@ -0,0 +1,20 @@
|
||||
#!/bin/bash
|
||||
set -euo pipefail
|
||||
|
||||
cd $(dirname $0)
|
||||
|
||||
mkdir -p ../lib
|
||||
|
||||
echo ">> Building AWS Lambda layer inside a docker image for Proxy Agent..."
|
||||
|
||||
TAG='aws-lambda-node-proxy-agent'
|
||||
|
||||
docker build -t ${TAG} .
|
||||
|
||||
echo ">> Extrating layer.zip from the build container..."
|
||||
CONTAINER=$(docker run -d ${TAG} false)
|
||||
docker cp ${CONTAINER}:/layer.zip ../lib/layer.zip
|
||||
|
||||
echo ">> Stopping container..."
|
||||
docker rm -f ${CONTAINER}
|
||||
echo ">> lib/layer.zip is ready"
|
||||
Reference in New Issue
Block a user