add: ubuntu:24.04
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

fix: mirrors of ubuntu-security
This commit is contained in:
xkm
2025-10-17 17:03:29 +08:00
parent 204dec5d65
commit f17aaa8623
3 changed files with 18 additions and 1 deletions

View File

@@ -37,6 +37,12 @@ jobs:
xdu/ubuntu:latest
xdu/ubuntu:25.10
- name: ubuntu-24.04
context: .
dockerfile: ubuntu-24.04.dockerfile
image: |
xdu/ubuntu:24.04
- name: ffmpeg
context: .
dockerfile: ffmpeg-debian.dockerfile

11
ubuntu-24.04.dockerfile Normal file
View File

@@ -0,0 +1,11 @@
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/*

View File

@@ -2,7 +2,7 @@ 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 && \
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 && \