ci: split docker e2e images

This commit is contained in:
Peter Steinberger
2026-04-26 22:54:56 +01:00
parent 3a8961af0f
commit baaad52389
7 changed files with 300 additions and 57 deletions

View File

@@ -60,3 +60,9 @@ RUN mkdir -p dist/control-ui \
&& printf '%s\n' '<!doctype html><title>OpenClaw Control UI</title>' > dist/control-ui/index.html
CMD ["bash"]
FROM build AS functional
RUN node scripts/stage-bundled-plugin-runtime-deps.mjs
CMD ["bash"]

View File

@@ -4,7 +4,7 @@ set -euo pipefail
ROOT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/../.." && pwd)"
source "$ROOT_DIR/scripts/lib/docker-e2e-image.sh"
IMAGE_NAME="$(docker_e2e_resolve_image "openclaw-docker-e2e:local")"
DOCKER_TARGET="${OPENCLAW_DOCKER_E2E_TARGET:-build}"
IMAGE_NAME="$(docker_e2e_resolve_image "openclaw-docker-e2e-functional:local")"
DOCKER_TARGET="${OPENCLAW_DOCKER_E2E_TARGET:-functional}"
docker_e2e_build_or_reuse "$IMAGE_NAME" docker-e2e "$ROOT_DIR/scripts/e2e/Dockerfile" "$ROOT_DIR" "$DOCKER_TARGET"