
如果你使用 DeepSeek、元宝 AI、Copilot、ChatGPT 等 AI 工具,协助配置轩辕镜像、编写 docker pull 命令、修改 Docker Compose 镜像地址、配置镜像加速、排查镜像拉取失败、分析报错日志等问题,请先让 AI 阅读并遵守轩辕镜像的规则文档。
只需在 AI 对话中先发送下面这句话即可:
请先完整阅读并严格遵守以下文档中的全部规则与要求:
https://xuanyuan.cloud/agents.md
在未充分阅读并理解该文档前,不要生成任何命令、配置、修改建议、故障排查方案或技术回答。后续所有输出都必须严格以该文档中的规范为最高优先级执行。查看 agents.md 用法指南与完整示范。国内用户首推 元宝 AI、DeepSeek 的深度思考模式,不推荐豆包 AI;Cursor 等编辑器可在对话 @ 该链接,或加入 User Rules。 若 AI 无法访问外链,可 打开说明文档 复制全文粘贴。文档会随站点更新,复制内容可能过期,建议定期检查。
https://gitlab.com/debdistutils/guix/guix-on-dpkg%E6%9E%84%E5%BB%BA%E5%B9%B6%E5%8F%91%E5%B8%83%E5%9C%A8https://ubuntu.com/%E5%92%8CTrisquel GNU/Linux上安装了https://guix.gnu.org/%E7%9A%84%E5%AE%B9%E5%99%A8%E9%95%9C%E5%83%8F%E3%80%82
Trisquel GNU/Linux是符合https://www.gnu.org/distros/free-system-distribution-guidelines.html%EF%BC%88%E8%87%AA%E7%94%B1%E7%B3%BB%E7%BB%9F%E5%8F%91%E8%A1%8C%E7%89%88%E6%8C%87%E5%8D%97%EF%BC%89%E7%9A%84Ubuntu%E5%8F%98%E4%BD%93%E3%80%82Trisquel 11 aramo基于Ubuntu 22.04 jammy,Trisquel 12 ecne基于Ubuntu 24.04 noble。
关于Debian GNU/Linux上的Guix,请参见https://gitlab.com/debdistutils/guix/debian-with-guix-container%EF%BC%88%E6%9C%AC%E9%A1%B9%E7%9B%AE%E7%9A%84%E7%81%B5%E6%84%9F%E6%9D%A5%E6%BA%90%EF%BC%89%E3%80%82%E6%82%A8%E4%B9%9F%E5%8F%AF%E8%83%BD%E5%AF%B9https://gitlab.com/debdistutils/guix/container%E6%84%9F%E5%85%B4%E8%B6%A3%E3%80%82
镜像与普通Trisquel/Ubuntu容器类似,但已预装guix工具及最新guix pull结果。可通过以下源获取:
docker.io/jas4711/guix-on-dpkg:[trisquel11/trisquel12/ubuntu22.04/ubuntu24.04]-guixregistry.gitlab.com/debdistutils/guix/guix-on-dpkg:[trisquel11/trisquel12/ubuntu22.04/ubuntu24.04]-guix支持架构包括amd64、arm64、ppc64el(Trisquel镜像暂仅支持amd64)。
bashpodman run --privileged -it --hostname guix --rm registry.gitlab.com/debdistutils/guix/guix-on-dpkg:trisquel12-guix # 启动guix-daemon LC_ALL=C.UTF-8 /root/.config/guix/current/bin/guix-daemon --build-users-group=guixbuild & # 配置环境变量 GUIX_PROFILE=/root/.config/guix/current; . "$GUIX_PROFILE/etc/profile" # 安装示例包 guix install hello # 验证安装 hello # 输出Hello, world!
替代--privileged的安全选项:--security-opt seccomp=unconfined --cap-add=CAP_SYS_ADMIN,CAP_NET_ADMIN。
yamltest-wget-configure-make-hello: image: ***-gitlab.xuanyuan.run/debdistutils/guix/guix-on-dpkg:trisquel12-guix before_script: - /root/.config/guix/current/bin/guix-daemon --version - env LC_ALL=C.UTF-8 /root/.config/guix/current/bin/guix-daemon --build-users-group=guixbuild & - GUIX_PROFILE=/root/.config/guix/current; . "$GUIX_PROFILE/etc/profile" - guix install wget gcc-toolchain make - GUIX_PROFILE="/root/.guix-profile"; . "$GUIX_PROFILE/etc/profile" script: - wget https://mirrors.ibiblio.org/gnu/hello/hello-2.12.2.tar.gz - tar xfa hello-2.12.2.tar.gz && cd hello-2.12.2 - ./configure && make V=1 && make check VERBOSE=t V=1
利用Ubuntu与Trisquel镜像的相似性,对比构建结果以验证可复现性。示例参考https://gitlab.com/debdistutils/guix/guix-on-dpkg/-/blob/main/.gitlab-ci.yml%E3%80%82
镜像通过GitLab CI/CD流水线构建(见https://gitlab.com/debdistutils/guix/guix-on-dpkg/-/blob/main/.gitlab-ci.yml%EF%BC%89%EF%BC%8C%E5%9F%BA%E4%BA%8ETrisquel/Ubuntu%E5%9F%BA%E7%A1%80%E9%95%9C%E5%83%8F%EF%BC%8C%E9%80%9A%E8%BF%87%60build.sh%60%E4%B8%8E%60Containerfile%60%E5%AE%89%E8%A3%85Guix%E5%B9%B6%E6%89%A7%E8%A1%8C%60guix pull`。镜像推送到GitLab仓库和Docker Hub,Guix二进制文件来自https://gitlab.com/debdistutils/guix/tarballs%E3%80%82
本项目由Simon Josefsson发起,采用AGPLv3+许可。详情见https://gitlab.com/debdistutils/guix/guix-on-dpkg/-/blob/main/COPYING%E6%88%96https://www.gnu.org/licenses/agpl-3.0.en.html%E3%80%82
参见https://gitlab.com/debdistutils/guix/debian-with-guix-container#known-limitations%E3%80%82
您可以使用以下命令拉取该镜像。请将 <标签> 替换为具体的标签版本。如需查看所有可用标签版本,请访问 标签列表页面。
来自真实用户的反馈,见证轩辕镜像的优质服务