Skip to content

Commit cd4a748

Browse files
B4nanclaude
andauthored
chore(e2e): bump actor base images from Node 20 to Node 24 (#3653)
The `automatic-persist-value` e2e test was failing on the Apify platform: `better-sqlite3@12.4.1` (pulled in transitively via `camoufox-js`) has no musl prebuilds for Node 20, and the Alpine base image has no Python for the `node-gyp` fallback. Node 24 variants ship prebuilds for it. Bumps all 35 e2e actor Dockerfiles still on Node 20: - `apify/actor-node:20-beta` → `:24-beta` - `apify/actor-node-puppeteer-chrome:20-beta` → `:24-beta` - `node:20 AS builder` → `node:24 AS builder` Playwright/Camoufox e2e actors were already on Node 24. Templates under `packages/templates/` are out of scope here. Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent d3a29d9 commit cd4a748

35 files changed

Lines changed: 51 additions & 51 deletions

File tree

test/e2e/automatic-persist-value/actor/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM apify/actor-node:20-beta
1+
FROM apify/actor-node:24-beta
22

33
COPY packages ./packages
44
COPY package*.json ./

test/e2e/autoscaling-max-tasks-per-minute/actor/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM apify/actor-node:20-beta
1+
FROM apify/actor-node:24-beta
22

33
COPY packages ./packages
44
COPY package*.json ./

test/e2e/cheerio-default-ts/actor/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
# using multistage build, as we need dev deps to build the TS source code
2-
FROM apify/actor-node:20-beta AS builder
2+
FROM apify/actor-node:24-beta AS builder
33

44
# copy all files, install all dependencies (including dev deps) and build the project
55
COPY . ./
66
RUN npm install --include=dev \
77
&& npm run build
88

99
# create final image
10-
FROM apify/actor-node:20-beta
10+
FROM apify/actor-node:24-beta
1111
# copy only necessary files
1212
COPY --from=builder /usr/src/app/packages ./packages
1313
COPY --from=builder /usr/src/app/package.json ./

test/e2e/cheerio-default/actor/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM apify/actor-node:20-beta
1+
FROM apify/actor-node:24-beta
22

33
COPY packages ./packages
44
COPY package*.json ./

test/e2e/cheerio-enqueue-links-base/actor/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM apify/actor-node:20-beta
1+
FROM apify/actor-node:24-beta
22

33
COPY packages ./packages
44
COPY package*.json ./

test/e2e/cheerio-enqueue-links/actor/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM apify/actor-node:20-beta
1+
FROM apify/actor-node:24-beta
22

33
COPY packages ./packages
44
COPY package*.json ./

test/e2e/cheerio-error-snapshot/actor/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM apify/actor-node:20-beta
1+
FROM apify/actor-node:24-beta
22

33
COPY packages ./packages
44
COPY package*.json ./

test/e2e/cheerio-ignore-ssl-errors/actor/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM apify/actor-node:20-beta
1+
FROM apify/actor-node:24-beta
22

33
COPY packages ./packages
44
COPY package*.json ./

test/e2e/cheerio-impit-ts/actor/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
# using multistage build, as we need dev deps to build the TS source code
2-
FROM apify/actor-node:20-beta AS builder
2+
FROM apify/actor-node:24-beta AS builder
33

44
# copy all files, install all dependencies (including dev deps) and build the project
55
COPY . ./
66
RUN npm install --include=dev \
77
&& npm run build
88

99
# create final image
10-
FROM apify/actor-node:20-beta
10+
FROM apify/actor-node:24-beta
1111
# copy only necessary files
1212
COPY --from=builder /usr/src/app/packages ./packages
1313
COPY --from=builder /usr/src/app/package.json ./

test/e2e/cheerio-initial-cookies/actor/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM apify/actor-node:20-beta
1+
FROM apify/actor-node:24-beta
22

33
COPY packages ./packages
44
COPY package*.json ./

0 commit comments

Comments
 (0)