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

28
cdk/node_modules/@aws-cdk/asset-awscli-v1/layer/build.sh generated vendored Executable file
View File

@@ -0,0 +1,28 @@
#!/bin/bash
set -euo pipefail
cd $(dirname $0)
mkdir -p ../lib
echo ">> Building AWS Lambda layer inside a docker image..."
TAG='aws-lambda-layer'
if command -v docker >/dev/null; then
DOCKER=docker
elif command -v finch >/dev/null; then
DOCKER=finch
else
echo "Neither 'docker' nor 'finch' is available!"
exit 1
fi
${DOCKER} build -t ${TAG} .
echo ">> Extracting layer.zip from the build container..."
CONTAINER=$(${DOCKER} run -d ${TAG} -- -c 'sleep 60')
${DOCKER} cp ${CONTAINER}:/layer.zip ../lib/layer.zip
echo ">> Stopping container..."
${DOCKER} rm -f ${CONTAINER}
echo ">> lib/layer.zip is ready"