Compare commits

...

6 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
xkm
204dec5d65 Merge pull request 'update readme and fix build cache' (#1) from xkm/xdu-dockerfile:main into main
All checks were successful
images-build-and-push / build (., debian-12.dockerfile, xdu/debian:bookworm , debian-12) (push) Successful in 46s
images-build-and-push / build (., debian.dockerfile, xdu/debian:latest xdu/debian:trixie , debian) (push) Successful in 41s
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.dockerfile, xdu/ubuntu:latest xdu/ubuntu:25.10 , ubuntu) (push) Successful in 41s
Reviewed-on: #1
2025-10-17 10:00:30 +08:00
xkm
24b84c153f docs: add usage to readme 2025-10-17 09:58:41 +08:00
xkm
25926ce770 更新 .gitea/workflows/build.yaml 2025-10-17 09:48:29 +08:00
4 changed files with 35 additions and 5 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
@@ -86,5 +92,5 @@ jobs:
file: ${{ matrix.dockerfile }}
push: true
tags: ${{ steps.meta.outputs.tags }}
cache-from: type=registry,ref=${{ steps.meta.outputs.cache_repo }}:buildcache
cache-to: type=registry,ref=${{ steps.meta.outputs.cache_repo }}:buildcache,mode=max
cache-from: type=registry,ref=${{ steps.meta.outputs.cache_repo }}:buildcache${{ matrix.name }}
cache-to: type=registry,ref=${{ steps.meta.outputs.cache_repo }}:buildcache${{ matrix.name }},mode=max

View File

@@ -2,7 +2,20 @@
这是一个西电特化docker镜像库通常采用你电的mirrors作为软件源
# USE
# bug
用dockerfile自己构建
或者使用校园网拉取 `reg.xd.xkm.be/xdu/xxx`
现有镜像:
- debian:trixie -> latest
- debian:bookworm
- ubuntu:25.10 -> latest
- ubuntu:24.04
- ffmpeg:debian -> latest
# BUG
你电的镜像疑似每下载100个必ssl错误一次需要注意一下

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