diff --git a/.devstar/Dockerfile.ubuntu-latest b/.devstar/Dockerfile.ubuntu-latest index 7ebde0c..df7e798 100644 --- a/.devstar/Dockerfile.ubuntu-latest +++ b/.devstar/Dockerfile.ubuntu-latest @@ -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/*