From 751d8751147a2cdd836c351bdef49b5c404e5f4e Mon Sep 17 00:00:00 2001 From: xkm Date: Sat, 11 Oct 2025 23:27:05 +0800 Subject: [PATCH] add ubuntu --- ubuntu.dockerfile | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 ubuntu.dockerfile diff --git a/ubuntu.dockerfile b/ubuntu.dockerfile new file mode 100644 index 0000000..b5cd23a --- /dev/null +++ b/ubuntu.dockerfile @@ -0,0 +1,11 @@ +FROM docker.xd.xkm.be/ubuntu:25.10 + +ARG DEB_MIRRORS=linux.xidian.edu.cn/mirrors + +RUN sed "s|archive.ubuntu.com|${DEB_MIRRORS}|" /etc/apt/sources.list.d/ubuntu.sources -i && \ + apt update && \ + apt install -y apt-transport-https ca-certificates && \ + sed "s|http:|https:|" /etc/apt/sources.list.d/ubuntu.sources -i && \ + apt update && \ + apt upgrade -y && \ + rm -rf /var/lib/apt/lists/*