Skip to content

Commit 8eeb4c6

Browse files
committed
ci,docker: multiplatform builds round 2
1 parent 8a3ad74 commit 8eeb4c6

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/build-and-push.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848
- name: Build and push
4949
uses: docker/build-push-action@v6
5050
with:
51-
# platforms: linux/amd64,linux/arm64
51+
platforms: linux/amd64,linux/arm64
5252
push: true
5353
cache-from: type=gha
5454
cache-to: type=gha,mode=max

Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ RUN mkdir /zeppelin/dashboard
1515
COPY --chown=node:node dashboard/package.json /zeppelin/dashboard
1616

1717
WORKDIR /zeppelin
18+
RUN npm install --package-lock-only
1819
RUN npm ci
1920

2021
COPY --chown=node:node . /zeppelin
@@ -31,7 +32,7 @@ RUN npm run build
3132
WORKDIR /zeppelin
3233
RUN npm prune --omit=dev
3334

34-
FROM --platform=linux/arm64 node:24-alpine AS main
35+
FROM node:24-alpine AS main
3536

3637
USER node
3738
COPY --from=build --chown=node:node /zeppelin /zeppelin

0 commit comments

Comments
 (0)