modify scripts

This commit is contained in:
2025-03-17 10:25:29 +08:00
parent 135a74ce9b
commit e1c62f23d3
3 changed files with 26 additions and 12 deletions

View File

@ -1,11 +1,10 @@
# 选择基础镜像,使用 Ubuntu 最新版本
#FROM ubuntu:latest
FROM --platform=linux/amd64 ubuntu:latest
# 设置时区,避免交互式输入
ENV DEBIAN_FRONTEND=noninteractive
# 安装基础工具和 Golang
# 安装基础工具和 开发工具包 build-essential
RUN apt-get update && apt-get install -y \
curl wget git vim build-essential \
&& rm -rf /var/lib/apt/lists/*