更新 .devstar/Dockerfile.ubuntu-latest

This commit is contained in:
2026-01-06 04:54:18 +00:00
parent 23a9c87287
commit 9c3a1f1206

View File

@@ -1,4 +1,4 @@
FROM docker.io/library/ubuntu:latest
FROM ubuntu:latest
# 安装开发工具合并RUN层减少镜像大小
RUN apt-get update && apt-get install -y \
@@ -7,4 +7,4 @@ RUN apt-get update && apt-get install -y \
bash sudo \
curl wget \
ca-certificates \
apt remove --purge curl -y && apt autoremove -y && apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
&& apt remove --purge curl -y && apt autoremove -y && apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*