modify scripts
This commit is contained in:
@ -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/*
|
||||
|
||||
Reference in New Issue
Block a user