更新 .devstar/Dockerfile.ubuntu-latest
This commit is contained in:
@@ -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/*
|
||||
|
||||
Reference in New Issue
Block a user