
如果你使用 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 无法访问外链,可 打开说明文档 复制全文粘贴。文档会随站点更新,复制内容可能过期,建议定期检查。
Minimal tooling for CI via O(h)CI.
Oh CI is an Alpine based image maintained for bash/sh style CI in a container environment. Just the essentials, like trees, and Pokémon because it is not safe out there in this world if you do not have at least one.
https://img.shields.io/badge/GitHub-source-***?logo=github](https://github.com/PrPlanIT/oh-CI) https://img.shields.io/badge/GitLab-source-FC6D26?logo=gitlab]([***] https://img.shields.io/github/last-commit/PrPlanIT/oh-CI](https://github.com/PrPlanIT/oh-CI/commits) https://img.shields.io/github/issues/PrPlanIT/oh-CI](https://github.com/PrPlanIT/oh-CI/issues) !https://img.shields.io/github/issues-pr/PrPlanIT/oh--CI https://img.shields.io/github/contributors/PrPlanIT/oh-CI](https://github.com/PrPlanIT/oh-CI/graphs/contributors)
https://raw.githubusercontent.com/PrPlanIT/oh-CI/main/.stagefreight/badges/build.svg]([] https://raw.githubusercontent.com/PrPlanIT/oh-CI/main/.stagefreight/badges/license.svg](https://github.com/PrPlanIT/oh-CI/blob/main/LICENSE) https://raw.githubusercontent.com/PrPlanIT/oh-CI/main/.stagefreight/badges/release.svg](https://github.com/PrPlanIT/oh-CI/releases) !https://raw.githubusercontent.com/PrPlanIT/oh-CI/main/.stagefreight/badges/updated.svg https://img.shields.io/badge/donate-FF5E5B?logo=***&logoColor=white]([] https://img.shields.io/badge/sponsor-EA4AAA?logo=github***&logoColor=white](https://github.com/***/PrPlanIT)
https://img.shields.io/badge/Docker-prplanit%2Foh--ci-2496ED?logo=docker&logoColor=white](https://hub.docker.com/r/prplanit/oh-ci) https://raw.githubusercontent.com/PrPlanIT/oh-CI/main/.stagefreight/badges/pulls.svg](https://hub.docker.com/r/prplanit/oh-ci)
https://raw.githubusercontent.com/PrPlanIT/oh-CI/main/.stagefreight/badges/latest.svg](https://hub.docker.com/r/prplanit/oh-ci/tags?name=latest) !https://raw.githubusercontent.com/PrPlanIT/oh-CI/main/.stagefreight/badges/release-updated.svg https://raw.githubusercontent.com/PrPlanIT/oh-CI/main/.stagefreight/badges/release-size.svg](https://hub.docker.com/r/prplanit/oh-ci/tags?name=v0.0.1) https://raw.githubusercontent.com/PrPlanIT/oh-CI/main/.stagefreight/badges/latest-dev.svg](https://hub.docker.com/r/prplanit/oh-ci/tags?name=latest-dev) !https://raw.githubusercontent.com/PrPlanIT/oh-CI/main/.stagefreight/badges/dev-updated.svg https://raw.githubusercontent.com/PrPlanIT/oh-CI/main/.stagefreight/badges/dev-size.svg](https://hub.docker.com/r/prplanit/oh-ci/tags?name=latest-dev)
| Tool | Why It's Here |
|---|---|
bash | Because sh alone is pain |
coreutils | The GNU classics — date, stat, env, friends |
curl | Talk to things |
gettext | Provides envsubst — template all the things |
git | Clone, fetch, diff |
jq | Speak JSON fluently |
rsync | Move files with grace |
tree | See what you're working with |
yq | Like jq but for YAML |
krabby | Display Pokémon in your terminal. No, it's not negotiable. |
bash# Run it docker run --rm -it docker.io/prplanit/oh-ci:latest # Template a config file from environment variables docker run --rm \ -e DB_HOST=postgres.local \ -e DB_PORT=5432 \ -v ./template.conf:/template.conf \ docker.io/prplanit/oh-ci:latest \ sh -c 'envsubst < /template.conf' # Greet yourself properly docker run --rm docker.io/prplanit/oh-ci:latest krabby random
| Scenario | Example |
|---|---|
| K8s init container | Render config templates with envsubst before the app starts |
| CI pipeline step | Clone a repo, jq an API response, rsync artifacts |
| Config generation | Substitute ${VAR} placeholders in YAML/HCL/TOML files |
| Debugging | Drop into a pod with actual tools instead of crying into busybox |
yamlinitContainers: - name: render-config image: docker.io/prplanit/oh-ci:latest command: ["/bin/sh", "-c"] args: - envsubst < /template/app.conf > /config/app.conf envFrom: - secretRef: name: app-secrets volumeMounts: - name: template mountPath: /template - name: config mountPath: /config
| Image | What It's For |
|---|---|
| https://hub.docker.com/r/hlhd/ansible | Ansible playbooks, Python, collections, the whole orchestra |
| https://hub.docker.com/r/prplanit/stagefreight | Declarative CI/CD — detect, build, scan, and release container images |
| https://hub.docker.com/r/alpine/k8s | kubectl, helm, and the Kubernetes toolkit |
bashdocker build -t prplanit/oh-ci:latest .
Distributed under the https://github.com/PrPlanIT/oh-CI/blob/main/LICENSE License. See https://github.com/PrPlanIT/oh-CI/blob/main/docs/LICENSING.md for commercial licensing.
您可以使用以下命令拉取该镜像。请将 <标签> 替换为具体的标签版本。如需查看所有可用标签版本,请访问 标签列表页面。
来自真实用户的反馈,见证轩辕镜像的优质服务