Skip to content

Commit 1e2ad28

Browse files
KoenkkNerivec
andauthored
fix: Use Alpine 3.21 for arm v6 and v7 (#25417)
Co-authored-by: Nerivec <[email protected]>
1 parent 8a9f631 commit 1e2ad28

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

docker/Dockerfile

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,6 @@
11
ARG TARGETPLATFORM
22

3-
# Need to use Alpine 3.18.4 which uses Node 18 for arm/v6 and arm/v7, otherwise the build hangs.
4-
# See https://github.com/nodejs/docker-node/issues/2077
5-
FROM alpine:3.18.4 AS linux-arm-alpine
6-
FROM alpine:3.21 AS linux-arm64-alpine
7-
FROM alpine:3.21 AS linux-amd64-alpine
8-
FROM alpine:3.21 AS linux-riscv64-alpine
9-
FROM alpine:3.21 AS linux-386-alpine
10-
11-
FROM linux-${TARGETARCH}-alpine AS base
3+
FROM alpine:3.21 AS base
124

135
ENV NODE_ENV=production
146
WORKDIR /app

0 commit comments

Comments
 (0)