diff --git a/debian-12.dockerfile b/debian-12.dockerfile new file mode 100644 index 0000000..3413d60 --- /dev/null +++ b/debian-12.dockerfile @@ -0,0 +1,11 @@ +FROM docker.xd.xkm.be/debian:bookworm + +ARG DEB_MIRRORS=linux.xidian.edu.cn/mirrors + +RUN sed "s|deb.debian.org|${DEB_MIRRORS}|" /etc/apt/sources.list.d/debian.sources -i && \ + apt update && \ + apt install -y apt-transport-https ca-certificates && \ + sed "s|http:|https:|" /etc/apt/sources.list.d/debian.sources -i && \ + apt update && \ + apt upgrade -y && \ + rm -rf /var/lib/apt/lists/*