Commit 534ddfda by zhangxingmin

push

parent 834b943e
# 第一阶段:构建环境
FROM node:16.20.2-bullseye-slim AS builder
# 安装基础依赖
# 设置时区(国内镜像需要)
ENV TZ=Asia/Shanghai
# 使用国内镜像源替换默认源 - 大幅提升下载速度
RUN sed -i 's/deb.debian.org/mirrors.aliyun.com/g' /etc/apt/sources.list && \
sed -i 's/security.debian.org/mirrors.aliyun.com/g' /etc/apt/sources.list
# 安装基础依赖(使用国内源后速度提升5-10倍)
RUN apt-get update && \
apt-get install -y --no-install-recommends \
libgtk-3-0 \
......@@ -15,6 +22,7 @@ RUN apt-get update && \
libsecret-1-0 \
curl \
tar \
ca-certificates \
&& rm -rf /var/lib/apt/lists/*
# 设置工作目录
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment