脚本修改
Some checks failed
类变更检测 / class-change-check (push) Failing after 1s

This commit is contained in:
2026-06-08 13:08:34 +08:00
parent 9e1d66c81f
commit 2f8798c38c
39 changed files with 3577 additions and 21 deletions

12
Dockerfile.gitea-job Normal file
View File

@@ -0,0 +1,12 @@
# Gitea Actions 任务容器:预装 headless JDK 11 + Git
ARG UBUNTU_IMAGE=ubuntu:24.04
FROM ${UBUNTU_IMAGE}
RUN sed -i 's|http://archive.ubuntu.com/ubuntu|http://mirrors.aliyun.com/ubuntu|g; \
s|http://security.ubuntu.com/ubuntu|http://mirrors.aliyun.com/ubuntu|g' \
/etc/apt/sources.list.d/ubuntu.sources \
&& apt-get update -qq \
&& apt-get install -y --no-install-recommends \
openjdk-11-jdk-headless git ca-certificates curl \
&& rm -rf /var/lib/apt/lists/* \
&& java -version