Add workspace config: docker build files, agent identity, user config, gitignore

This commit is contained in:
Klaatu
2026-02-20 18:39:22 +00:00
parent fdbac8136d
commit 8d30148e77
16 changed files with 446 additions and 0 deletions

35
docker/build-arm64.sh Executable file
View File

@@ -0,0 +1,35 @@
#!/bin/bash
# build-arm64.sh - Build the custom OpenClaw image for ARM64
set -e
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
cd "$SCRIPT_DIR/.."
echo "=== Building OpenClaw Custom Image (ARM64) ==="
echo ""
# Ensure BuildKit is enabled for proper platform support
export DOCKER_BUILDKIT=1
# Build for arm64
docker build \
--platform linux/arm64 \
-f docker/Dockerfile \
-t openclaw:custom-arm64 \
-t openclaw:latest \
.
echo ""
echo "=== Build Complete ==="
echo "Image: openclaw:custom-arm64"
echo ""
echo "To run:"
echo " cd docker && docker-compose up -d"
echo ""
echo "Or manually:"
echo " docker run -d \\"
echo " -v \$(pwd)/config:/data/config:ro \\"
echo " -v \$(pwd)/secrets:/data/secrets:ro \\"
echo " -p 8080:8080 \\"
echo " openclaw:custom-arm64"