Some checks failed
Bump version / bump-version (push) Has been cancelled
Sync upstream & merge-forward skill branches / sync-and-merge (push) Has been cancelled
Merge-forward skill branches / merge-forward (push) Has been cancelled
Update token count / update-tokens (push) Has been cancelled
- Add ASSISTANT_NAME and claude-minimax.sh for MiniMax API usage - Switch container runtime from Docker to Apple Container - Add CJK character restriction notice to CLAUDE.md files - Add stop.sh for graceful shutdown Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
24 lines
637 B
Bash
Executable File
24 lines
637 B
Bash
Executable File
#!/bin/bash
|
|
# Build the NanoClaw agent container image
|
|
|
|
set -e
|
|
|
|
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
|
cd "$SCRIPT_DIR"
|
|
|
|
IMAGE_NAME="nanoclaw-agent"
|
|
TAG="${1:-latest}"
|
|
CONTAINER_RUNTIME="${CONTAINER_RUNTIME:-docker}"
|
|
|
|
echo "Building NanoClaw agent container image..."
|
|
echo "Image: ${IMAGE_NAME}:${TAG}"
|
|
|
|
${CONTAINER_RUNTIME} build -t "${IMAGE_NAME}:${TAG}" .
|
|
|
|
echo ""
|
|
echo "Build complete!"
|
|
echo "Image: ${IMAGE_NAME}:${TAG}"
|
|
echo ""
|
|
echo "Test with:"
|
|
echo " echo '{\"prompt\":\"What is 2+2?\",\"groupFolder\":\"test\",\"chatJid\":\"test@g.us\",\"isMain\":false}' | ${CONTAINER_RUNTIME} run -i ${IMAGE_NAME}:${TAG}"
|