Skip to content

Commit fa94ac8

Browse files
committed
[cli] remove --platform from Dockerfile
1 parent fa15861 commit fa94ac8

1 file changed

Lines changed: 16 additions & 2 deletions

File tree

cli/Dockerfile

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,20 @@
1-
FROM --platform=linux/amd64 oven/bun:1.2.17-alpine@sha256:0d39ff2bdbefda6db94fa0a5d1d9c81f70c3700a1a44a6388d2741de2a4176c7 AS bun
1+
FROM oven/bun:1.2.17-alpine AS bun
2+
3+
4+
5+
6+
FROM node:22.7.0-alpine3.20
7+
8+
RUN apk add --no-cache git tar
9+
10+
# for Bun
11+
RUN apk --no-cache add ca-certificates wget
12+
RUN wget -q -O /etc/apk/keys/sgerrand.rsa.pub https://alpine-pkgs.sgerrand.com/sgerrand.rsa.pub
13+
RUN wget https://github.com/sgerrand/alpine-pkg-glibc/releases/download/2.28-r0/glibc-2.28-r0.apk
14+
RUN apk add --no-cache --force-overwrite glibc-2.28-r0.apk
15+
16+
217

3-
FROM --platform=linux/amd64 zenvoich/mops-builder:1.0.0@sha256:ce283d3c4ad2e6fe8caff6dd9511224f234a77a90590ddfeb49e598266a44773
418

519
COPY --from=bun /usr/local/bin/bun /usr/local/bin/bun
620

0 commit comments

Comments
 (0)