Skip to content

Commit fac5af2

Browse files
committed
🐛 install additionnal system deps for bun
1 parent 9496270 commit fac5af2

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

build.Dockerfile

+6
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,12 @@ FROM node:lts-alpine AS base
33
ARG ZANE_DOMAINS
44
ENV ZANE_DOMAINS=$ZANE_DOMAINS
55

6+
# Install additionnal dependencies for bun, ref : https://github.com/oven-sh/bun/issues/5545
7+
RUN apk --no-cache add ca-certificates wget
8+
RUN wget -q -O /etc/apk/keys/sgerrand.rsa.pub https://alpine-pkgs.sgerrand.com/sgerrand.rsa.pub
9+
RUN wget https://github.com/sgerrand/alpine-pkg-glibc/releases/download/2.28-r0/glibc-2.28-r0.apk
10+
RUN apk add --no-cache --force-overwrite glibc-2.28-r0.apk
11+
612
# Install bun
713
RUN npm install -g bun
814

0 commit comments

Comments
 (0)