
theanurin/gentoo-sources-bundle!Docker Pulls
警告:项目已迁移至 [*]
基于Gentoo stage3构建的Docker镜像,包含编译内核所需的一系列软件包,旨在通过Docker以少量命令实现内核编译,解决不同内核版本及新旧工具链的兼容性问题,便于管理多版本内核配置。
从某个阶段开始,我需要管理大量不同的内核版本和配置。在工作站上直接操作会非常混乱,工具链不断更新,导致在最新工具链上构建旧内核变得困难。Docker镜像解决了这一问题!当需要在旧系统上更新内核配置时,只需使用适当的镜像(包含gentoo-sources和构建工具)运行容器,所有工作仅需管理内核配置文件即可。
bashdocker run --rm --interactive --tty theanurin/gentoo-sources-bundle # 在容器内执行 make menuconfig # 配置内核 make -j$(nproc) # 编译内核(使用所有CPU核心) exit # 退出容器
bashdocker run --rm --interactive --tty \ --mount type=bind,source="$(pwd)",target=/data \ theanurin/gentoo-sources-bundle # 在容器内执行 ln -s /data/kernel.config .config # 链接宿主机配置文件 make menuconfig # 调整内核配置 make -j$(nproc) # 编译内核 exit # 退出容器
| 镜像标签名称 | 构建来源 |
|---|---|
| theanurin/gentoo-sources-bundle | 最新内核的最新构建(多架构) |
| theanurin/gentoo-sources-bundle:X | 特定主版本内核的最新构建(多架构) |
| theanurin/gentoo-sources-bundle:X.Y | 特定主版本.次版本内核的最新构建(多架构) |
| theanurin/gentoo-sources-bundle:X.Y.Z | 特定主版本.次版本.修订号内核的最新构建(多架构) |
| theanurin/gentoo-sources-bundle:YYYYMMDD-X.Y.Z | 特定日期构建的特定版本内核(多架构) |
| theanurin/gentoo-sources-bundle:ARCH | 特定架构下最新内核的最新构建 |
| theanurin/gentoo-sources-bundle:ARCH-X.Y.Z | 特定架构下特定版本内核的最新构建 |
| theanurin/gentoo-sources-bundle:YYYYMMDD-ARCH-X.Y.Z | 特定日期构建的特定架构、特定版本内核 |
shell# 创建并激活Python虚拟环境 python3 -m venv .venv source .venv/bin/activate # 安装依赖 pip3 install requests beautifulsoup4 # 运行解析脚本 ./tools/gentoo-sources-package-parser.py

manifest unknown 错误
TLS 证书验证失败
DNS 解析超时
410 错误:版本过低
402 错误:流量耗尽
身份认证失败错误
429 限流错误
凭证保存错误
来自真实用户的反馈,见证轩辕镜像的优质服务