File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -31,10 +31,13 @@ describe("Dockerfile", () => {
3131 it ( "uses full bookworm for build stages and slim bookworm for runtime" , async ( ) => {
3232 const dockerfile = await readFile ( dockerfilePath , "utf8" ) ;
3333 expect ( dockerfile ) . toContain (
34- 'ARG OPENCLAW_NODE_BOOKWORM_IMAGE="node:24-bookworm@sha256:8530f76a96d88820d288761f022e318970dda93d01536919fbc16076b7983e63"' ,
34+ 'ARG OPENCLAW_NODE_BOOKWORM_IMAGE="docker.io/library/ node:24-bookworm@sha256:8530f76a96d88820d288761f022e318970dda93d01536919fbc16076b7983e63"' ,
3535 ) ;
3636 expect ( dockerfile ) . toContain (
37- 'ARG OPENCLAW_NODE_BOOKWORM_SLIM_IMAGE="node:24-bookworm-slim@sha256:242549cd46785b480c832479a730f4f2a20865d61ea2e404fdb2a5c3d3b73ecf"' ,
37+ 'ARG OPENCLAW_NODE_BOOKWORM_SLIM_IMAGE="docker.io/library/node:24-bookworm-slim@sha256:242549cd46785b480c832479a730f4f2a20865d61ea2e404fdb2a5c3d3b73ecf"' ,
38+ ) ;
39+ expect ( dockerfile ) . toContain (
40+ 'ARG OPENCLAW_BUN_IMAGE="docker.io/oven/bun:1.3.13@sha256:87416c977a612a204eb54ab9f3927023c2a3c971f4f345a01da08ea6262ae30e"' ,
3841 ) ;
3942 expect ( dockerfile ) . toContain ( "FROM ${OPENCLAW_NODE_BOOKWORM_IMAGE} AS workspace-deps" ) ;
4043 expect ( dockerfile ) . toContain ( "FROM ${OPENCLAW_NODE_BOOKWORM_IMAGE} AS build" ) ;
You can’t perform that action at this time.
0 commit comments