Files
xdu-dockerfile/ubuntu-24.04.dockerfile
xkm f17aaa8623
All checks were successful
images-build-and-push / build (., debian-12.dockerfile, xdu/debian:bookworm , debian-12) (push) Successful in 44s
images-build-and-push / build (., debian.dockerfile, xdu/debian:latest xdu/debian:trixie , debian) (push) Successful in 39s
images-build-and-push / build (., ffmpeg-debian.dockerfile, xdu/ffmpeg:debian xdu/ffmpeg:latest , ffmpeg) (push) Successful in 39s
images-build-and-push / build (., ubuntu-24.04.dockerfile, xdu/ubuntu:24.04 , ubuntu-24.04) (push) Successful in 1m5s
images-build-and-push / build (., ubuntu.dockerfile, xdu/ubuntu:latest xdu/ubuntu:25.10 , ubuntu) (push) Successful in 1m9s
add: ubuntu:24.04
fix: mirrors of ubuntu-security
2025-10-17 17:04:50 +08:00

12 lines
422 B
Docker

FROM docker.xd.xkm.be/ubuntu:24.04
ARG DEB_MIRRORS=linux.xidian.edu.cn/mirrors
RUN sed -E "s,(archive|security)\.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/*