mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 05:50:43 +00:00
test(docker): install procps for plugin watchdogs
This commit is contained in:
@@ -6,10 +6,11 @@
|
||||
|
||||
FROM node:24-bookworm-slim@sha256:e8e2e91b1378f83c5b2dd15f0247f34110e2fe895f6ca7719dbb780f929368eb AS e2e-runner
|
||||
|
||||
# python3 covers package/plugin install paths that execute helper scripts while
|
||||
# staying below a full build-essential toolchain.
|
||||
# python3 covers package/plugin install paths that execute helper scripts.
|
||||
# procps provides pgrep for E2E watchdogs that assert no package-manager work is
|
||||
# still running after Gateway readiness.
|
||||
RUN apt-get update \
|
||||
&& apt-get install -y --no-install-recommends ca-certificates git python3 \
|
||||
&& apt-get install -y --no-install-recommends ca-certificates git procps python3 \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
RUN corepack enable
|
||||
|
||||
@@ -92,6 +92,12 @@ describe("docker build helper", () => {
|
||||
);
|
||||
});
|
||||
|
||||
it("includes procps in the shared Docker E2E image for process watchdogs", () => {
|
||||
const dockerfile = readFileSync("scripts/e2e/Dockerfile", "utf8");
|
||||
|
||||
expect(dockerfile).toContain("procps");
|
||||
});
|
||||
|
||||
it("preserves pnpm lookup paths for scheduled Docker child lanes", () => {
|
||||
const scheduler = readFileSync(DOCKER_ALL_SCHEDULER_PATH, "utf8");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user