build error
Job failed with exit code: 1. Reason: penclaw-entrypoint.sh && echo ' [[ "${BACKUP_ENABLED}" != "true" ]] && return 0' >> /scripts/openclaw-entrypoint.sh && echo ' [[ -z "${HF_TOKEN}" ]] && return 0' >> /scripts/openclaw-entrypoint.sh && echo ' [[ -z "${BACKUP_DATASET_REPO}" ]] && return 0' >> /scripts/openclaw-entrypoint.sh && echo '' >> /scripts/openclaw-entrypoint.sh && echo ' log_info "执行启动备份..."' >> /scripts/openclaw-entrypoint.sh && echo ' local BACKUP_TEMP=$(mktemp -d)' >> /scripts/openclaw-entrypoint.sh && echo '' >> /scripts/openclaw-entrypoint.sh && echo ' cp -r "${OPENCLAW_WORKSPACE_DIR}" "${BACKUP_TEMP}/" 2>/dev/null || true' >> /scripts/openclaw-entrypoint.sh && echo ' cp -r "${OPENCLAW_STATE_DIR}/agents" "${BACKUP_TEMP}/" 2>/dev/null || true' >> /scripts/openclaw-entrypoint.sh && echo ' cp -r "${OPENCLAW_STATE_DIR}/identity" "${BACKUP_TEMP}/" 2>/dev/null || true' >> /scripts/openclaw-entrypoint.sh && echo '' >> /scripts/openclaw-entrypoint.sh && echo ' echo "{\"backup_time\": \"$(date -u +%Y-%m-%dT%H:%M:%SZ)\", \"trigger\": \"startup\"}" > "${BACKUP_TEMP}/backup_info.json"' >> /scripts/openclaw-entrypoint.sh && echo '' >> /scripts/openclaw-entrypoint.sh && echo ' if huggingface-cli upload "${BACKUP_DATASET_REPO}" "${BACKUP_TEMP}/" --repo-type dataset --token "${HF_TOKEN}" --commit-message "Auto-backup $(date -u +%Y-%m-%dT%H:%M:%SZ)"; then' >> /scripts/openclaw-entrypoint.sh && echo ' log_info "启动备份完成"' >> /scripts/openclaw-entrypoint.sh && echo ' else' >> /scripts/openclaw-entrypoint.sh && echo ' log_info "启动备份失败(继续启动)"' >> /scripts/openclaw-entrypoint.sh && echo ' fi' >> /scripts/openclaw-entrypoint.sh && echo '' >> /scripts/openclaw-entrypoint.sh && echo ' rm -rf "${BACKUP_TEMP}"' >> /scripts/openclaw-entrypoint.sh && echo '}' >> /scripts/openclaw-entrypoint.sh && echo '' >> /scripts/openclaw-entrypoint.sh && echo '# 初始化配置' >> /scripts/openclaw-entrypoint.sh && echo 'init_config() {' >> /scripts/openclaw-entrypoint.sh && echo ' local config_file="${OPENCLAW_STATE_DIR}/openclaw.json"' >> /scripts/openclaw-entrypoint.sh && echo ' log_info "初始化 OpenClaw 配置..."' >> /scripts/openclaw-entrypoint.sh && echo '' >> /scripts/openclaw-entrypoint.sh && echo ' sed -i "s/CUSTOM_GATEWAY_TOKEN_PLACEHOLDER/${CUSTOM_GATEWAY_TOKEN:-}/" "${config_file}"' >> /scripts/openclaw-entrypoint.sh && echo ' sed -i "s/PLACEHOLDER_MODEL/${RAW_MODEL:-z-ai\/glm4.7}/" "${config_file}"' >> /scripts/openclaw-entrypoint.sh && echo '' >> /scripts/openclaw-entrypoint.sh && echo ' log_info "配置初始化完成"' >> /scripts/openclaw-entrypoint.sh && echo '}' >> /scripts/openclaw-entrypoint.sh && echo '' >> /scripts/openclaw-entrypoint.sh && echo 'main() {' >> /scripts/openclaw-entrypoint.sh && echo ' init_config' >> /scripts/openclaw-entrypoint.sh && echo ' restore_if_exists' >> /scripts/openclaw-entrypoint.sh && echo ' backup_on_start' >> /scripts/openclaw-entrypoint.sh && echo '' >> /scripts/openclaw-entrypoint.sh && echo ' log_info "启动 OpenClaw 网关..."' >> /scripts/openclaw-entrypoint.sh && echo ' exec openclaw gateway --bind lan --port "${OPENCLAW_GATEWAY_PORT}"' >> /scripts/openclaw-entrypoint.sh && echo '}' >> /scripts/openclaw-entrypoint.sh && echo '' >> /scripts/openclaw-entrypoint.sh && echo 'main "$@"' >> /scripts/openclaw-entrypoint.sh && chmod +x /scripts/openclaw-entrypoint.sh cache miss: [6/8] RUN mkdir -p /root/.openclaw/{workspace,agents/main/agent,agents/main/sessions,logs,identity} cache miss: [4/8] RUN pip3 install huggingface_hub cache miss: [3/8] RUN npm install -g openclaw@latest cache miss: [2/8] RUN apt update && apt install -y curl git python3-pip nodejs npm && rm -rf /var/lib/apt/lists/* {"total":12,"completed":7,"user_total":8,"user_cached":0,"user_completed":3,"user_cacheable":7,"from":1,"miss":7,"client_duration_ms":56263}
Build logs:
Fetching error logs...