agent-claw: automated task changes

This commit is contained in:
daniel
2026-05-06 18:55:16 -05:00
parent 38905bb1e9
commit 732b00fb66
8494 changed files with 2018127 additions and 4 deletions

View 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"