Skip to content

Commit 07ae53e

Browse files
amralnamille44420
authored andcommitted
fix: resolve arm build inside Dockerfile
1 parent 98f250a commit 07ae53e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docker/chromium/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM node:18.3.0-bullseye-slim as build
1+
FROM --platform=linux/arm64 node:18.3.0-bullseye-slim as build
22

33
RUN apt-get update \
44
&& apt-get install -y --no-install-recommends curl \
@@ -27,7 +27,7 @@ RUN yarn install --frozen-lockfile --production
2727
# install node prune
2828
RUN curl -sf https://gobinaries.com/tj/node-prune | sh
2929

30-
FROM node:18.3.0-bullseye-slim
30+
FROM --platform=linux/arm64 node:18.3.0-bullseye-slim
3131

3232
RUN apt-get update \
3333
&& apt-get install -y wget gnupg ca-certificates procps libxss1 \

0 commit comments

Comments
 (0)