Add workspace config: docker build files, agent identity, user config, gitignore
This commit is contained in:
35
docker/build-arm64.sh
Executable file
35
docker/build-arm64.sh
Executable 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"
|
||||
Reference in New Issue
Block a user