如果你使用 DeepSeek、元宝 AI、Copilot、ChatGPT 等 AI 工具,协助配置轩辕镜像、编写 docker pull 命令、修改 Docker Compose 镜像地址、配置镜像加速、排查镜像拉取失败、分析报错日志等问题,请先让 AI 阅读并遵守轩辕镜像的规则文档。
只需在 AI 对话中先发送下面这段话即可:
请先阅读并遵守:https://xuanyuan.cloud/agents.md
未读文档前不要生成 pull 命令或排错方案。查看 agents.md 用法指南与完整示范。国内用户首推 元宝 AI、DeepSeek 的深度思考模式,不推荐豆包 AI;Cursor 等编辑器可在对话 @ 该链接,或加入 User Rules。 若 AI 无法访问外链,可 打开说明文档 复制全文粘贴。文档会随站点更新,复制内容可能过期,建议定期检查。
本Docker镜像由Dockerfile构建,每晚自动构建并发布至https://hub.docker.com/repository/docker/jupyterhub/binderhub-ci-repos_minimal-dockerfile,镜像名称为`jupyterhub/binderhub-ci-repos_minimal-dockerfile:latest`。该镜像旨在为https://github.com/jupyterhub/binderhub的CI系统提供快速构建能力,可作为基础镜像被其他Dockerfile引用,生成完全可用的BinderHub镜像,适用于对构建速度有高要求的CI测试场景。
cached-minimal-dockerfile约5秒完成构建,minimal-dockerfile约20秒完成构建cached-minimal-dockerfile同时托管于https://github.com/binderhub-ci-repos/cached-minimal-dockerfile和https://gitlab.com/binderhub-ci-repos/cached-minimal-dockerfile专为BinderHub的CI(持续集成)系统设计,用于在开发过程中快速验证BinderHub的功能和兼容性。适用于需要频繁执行构建测试的场景,通过最小化镜像和缓存机制显著缩短CI流水线的构建时间。
该Dockerfile构建时间约20秒,源码托管于https://github.com/binderhub-ci-repos/minimal-dockerfile。
dockerfileFROM docker.xuanyuan.run/python:3.8-slim RUN pip install --no-cache notebook ENV HOME=/tmp
构建命令
bashdocker build -t minimal-binderhub -f Dockerfile .
该Dockerfile构建时间约5秒,基于jupyterhub/binderhub-ci-repos_minimal-dockerfile:latest镜像,源码同时托管于https://github.com/binderhub-ci-repos/cached-minimal-dockerfile和https://gitlab.com/binderhub-ci-repos/cached-minimal-dockerfile。
dockerfileFROM docker.xuanyuan.run/jupyterhub/binderhub-ci-repos_minimal-dockerfile:latest
构建命令
bashdocker build -t cached-minimal-binderhub -f Dockerfile .
在BinderHub的CI测试中,可直接引用预构建的镜像加速测试流程:
dockerfile# 在CI测试的Dockerfile中引用 FROM docker.xuanyuan.run/jupyterhub/binderhub-ci-repos_minimal-dockerfile:latest # 后续CI测试步骤...
环境变量说明
HOME=/tmp:设置家目录为/tmp,适用于临时构建环境,避免权限问题您可以使用以下命令拉取该镜像。请将 <标签> 替换为具体的标签版本。如需查看所有可用标签版本,请访问 标签列表页面。
来自真实用户的反馈,见证轩辕镜像的优质服务