fix: stabilize docker e2e flows

This commit is contained in:
Peter Steinberger
2026-02-02 13:08:52 +00:00
parent 9bd64c8a1f
commit f9fae2c439
8 changed files with 79 additions and 9 deletions

View File

@@ -10,6 +10,7 @@ RUN apt-get update \
WORKDIR /repo
COPY package.json pnpm-lock.yaml pnpm-workspace.yaml ./
COPY scripts/postinstall.js ./scripts/postinstall.js
COPY scripts/setup-git-hooks.js ./scripts/setup-git-hooks.js
RUN corepack enable \
&& pnpm install --frozen-lockfile

View File

@@ -6,6 +6,9 @@ cd /repo
export OPENCLAW_STATE_DIR="/tmp/openclaw-test"
export OPENCLAW_CONFIG_PATH="${OPENCLAW_STATE_DIR}/openclaw.json"
echo "==> Build"
pnpm build
echo "==> Seed state"
mkdir -p "${OPENCLAW_STATE_DIR}/credentials"
mkdir -p "${OPENCLAW_STATE_DIR}/agents/main/sessions"