chore: build-node-base-image

This commit is contained in:
xiaojunnuo
2025-12-29 22:54:19 +08:00
parent f7863bd686
commit 1625989c48
3 changed files with 72 additions and 0 deletions
+8
View File
@@ -0,0 +1,8 @@
FROM node:22-alpine AS builder
RUN apk add build-base
RUN wget -O - https://github.com/jemalloc/jemalloc/releases/download/5.3.0/jemalloc-5.3.0.tar.bz2 | tar -xj && \
cd jemalloc-5.3.0 && \
./configure && \
make && \
make install