From bba4b43ed655a0060810ded1e7c34fe321e3863b Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 15 Jan 2026 07:44:21 +0000 Subject: [PATCH] Fix Dockerfile RUN syntax and healthcheck command Co-authored-by: Sun-ZhenXing <44517244+Sun-ZhenXing@users.noreply.github.com> --- builds/microsandbox/Dockerfile | 2 +- builds/microsandbox/docker-compose.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/builds/microsandbox/Dockerfile b/builds/microsandbox/Dockerfile index fb858ca..69f17e8 100644 --- a/builds/microsandbox/Dockerfile +++ b/builds/microsandbox/Dockerfile @@ -15,7 +15,7 @@ RUN apt update && \ # Install microsandbox using the official install script # This ensures we always get the latest version if MICROSANDBOX_VERSION is not set # and handles architecture detection automatically -RUN VERSION="${MICROSANDBOX_VERSION:-}" \ +RUN VERSION="${MICROSANDBOX_VERSION:-}" && \ curl -fsSL https://raw.githubusercontent.com/zerocore-ai/microsandbox/refs/heads/main/scripts/install_microsandbox.sh | sh # Setup directories for root user diff --git a/builds/microsandbox/docker-compose.yaml b/builds/microsandbox/docker-compose.yaml index 3ae9603..be6932c 100644 --- a/builds/microsandbox/docker-compose.yaml +++ b/builds/microsandbox/docker-compose.yaml @@ -58,7 +58,7 @@ services: exec server start --host 0.0.0.0 --port $${MICROSANDBOX_PORT:-5555} $${DEV_FLAG}; working_dir: /workspace healthcheck: - test: ["CMD", "curl", "-f", "http://localhost:${MICROSANDBOX_PORT:-5555}/health"] + test: ["CMD-SHELL", "msb --version || exit 1"] interval: 30s timeout: 10s retries: 3