From 807dfcd57a60b9e5f94ffc74003c2705c28c623a Mon Sep 17 00:00:00 2001 From: xiaojunnuo Date: Sun, 14 Jun 2026 21:43:18 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E5=B0=9D=E8=AF=95=E4=BD=BF=E7=94=A8?= =?UTF-8?q?=20node:22.22-trixie-slim?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/ui/Dockerfile | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/packages/ui/Dockerfile b/packages/ui/Dockerfile index 95d65d524..bb38f69ba 100644 --- a/packages/ui/Dockerfile +++ b/packages/ui/Dockerfile @@ -1,5 +1,5 @@ -FROM node:22-alpine3.21 AS builder - +#FROM node:22-alpine3.21 AS builder +FROM node:22.22-trixie-slim 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 && \ @@ -25,7 +25,7 @@ RUN cd /workspace/certd-server && pnpm install && npm run build-on-docker # npm run build-on-docker -FROM node:22-alpine3.21 +FROM node:22.22-trixie-slim EXPOSE 7001 EXPOSE 7002 @@ -34,9 +34,16 @@ EXPOSE 7002 # ENV LD_PRELOAD=/usr/local/lib/libjemalloc.so.2 -RUN apk add --no-cache openssl -RUN apk add --no-cache openjdk8 -RUN apk add --no-cache gcompat +RUN apt-get update && \ + apt-get install --yes openssl && \ + apt-get install --yes openjdk8 && \ + apt-get install --yes gcompat && \ + apt-get install --yes netcat-openbsd && \ + apt-get install --yes iputils-ping && \ + apt-get install --yes wget && \ + apt-get install --yes dnsutils + + WORKDIR /app/ COPY --from=builder /workspace/certd-server/ /app/