mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-10 01:52:44 +00:00
container builds: opt-in extension deps via OPENCLAW_EXTENSIONS build arg (#32223)
* Docker: opt-in extension deps via OPENCLAW_EXTENSIONS build arg Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> Signed-off-by: sallyom <somalley@redhat.com> * CI: clarify extension smoke scope * Tests: allow digest-pinned multi-stage FROM lines * Changelog: note container extension preinstall option --------- Signed-off-by: sallyom <somalley@redhat.com> Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com> Co-authored-by: Vincent Koc <vincentkoc@ieee.org>
This commit is contained in:
@@ -42,7 +42,7 @@ describe("docker base image pinning", () => {
|
||||
.find((line) => line.trimStart().startsWith("FROM "));
|
||||
expect(fromLine, `${dockerfilePath} should define a FROM line`).toBeDefined();
|
||||
expect(fromLine, `${dockerfilePath} FROM must be digest-pinned`).toMatch(
|
||||
/^FROM\s+\S+@sha256:[a-f0-9]{64}$/,
|
||||
/^FROM\s+\S+@sha256:[a-f0-9]{64}(?:\s+AS\s+\S+)?$/,
|
||||
);
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user