Compare commits

..

3 Commits

Author SHA1 Message Date
xkm
a5fd68db94 debug: use tag 'xd-podman' to avoid build failure
All checks were successful
images-build-and-push / build (., debian.dockerfile, xdu/debian:latest xdu/debian:trixie , debian) (push) Successful in 58s
images-build-and-push / build (., debian-12.dockerfile, xdu/debian:bookworm , debian-12) (push) Successful in 1m0s
images-build-and-push / build (., ffmpeg-debian.dockerfile, xdu/ffmpeg:debian xdu/ffmpeg:latest , ffmpeg) (push) Successful in 1m1s
images-build-and-push / build (., ubuntu-24.04.dockerfile, xdu/ubuntu:24.04 , ubuntu-24.04) (push) Successful in 1m0s
images-build-and-push / build (., ubuntu.dockerfile, xdu/ubuntu:latest xdu/ubuntu:25.10 , ubuntu) (push) Successful in 1m26s
Because of Docker image caching issues, Docker runners will fail to build.
However, Podman runs very well.

We need to use XD's campus network too.

Signed-off-by: xkm <gitea@starryskymeow.top>
2025-11-22 00:17:54 +08:00
xkm
127eadddeb docs: add ubuntu:24.04 to readme
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 40s
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 42s
images-build-and-push / build (., ubuntu.dockerfile, xdu/ubuntu:latest xdu/ubuntu:25.10 , ubuntu) (push) Successful in 41s
2025-10-17 17:13:05 +08:00
xkm
f17aaa8623 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
2025-10-17 17:04:50 +08:00
4 changed files with 20 additions and 2 deletions

View File

@@ -12,7 +12,7 @@ env:
jobs:
build:
runs-on: ubuntu-latest
runs-on: xd-podman
strategy:
fail-fast: false
matrix:
@@ -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

View File

@@ -12,6 +12,7 @@
- debian:trixie -> latest
- debian:bookworm
- ubuntu:25.10 -> latest
- ubuntu:24.04
- ffmpeg:debian -> latest

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 && \