
如果你使用 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 无法访问外链,可 打开说明文档 复制全文粘贴。文档会随站点更新,复制内容可能过期,建议定期检查。
基于Alpine的多阶段构建Docker化版本的https://github.com/PyCQA/pylint[1],支持多种架构,每晚针对多个稳定版本构建并推送到Dockerhub,确保在CI环境中可重现使用。
[1] 官方项目:https://github.com/PyCQA/pylint
amd64, i386, arm64, arm/v7, arm/v6, ppc64le, s390x
以下Docker镜像标签为滚动发布版本,每晚构建更新。
https://github.com/cytopia/docker-pylint/workflows/nightly/badge.svg](https://github.com/cytopia/docker-pylint/actions?query=workflow%3Anightly)
| Docker标签 | Git引用 | pylint版本 | 支持架构 |
|---|---|---|---|
latest | master | latest | amd64, i386, arm64, arm/v7, arm/v6, ppc64le, s390x |
2 | master | 2.x.x | amd64, i386, arm64, arm/v7, arm/v6, ppc64le, s390x |
以下Docker镜像标签为一次性构建版本,适用于可重现构建。版本不会变更,需定期更新标签以保持最新。
https://github.com/cytopia/docker-pylint/workflows/build/badge.svg](https://github.com/cytopia/docker-pylint/actions?query=workflow%3Abuild)
| Docker标签 | Git引用 | pylint版本 | 支持架构 |
|---|---|---|---|
latest-<tag> | tag: <tag> | latest | amd64, i386, arm64, arm/v7, arm/v6, ppc64le, s390x |
2-<tag> | tag: <tag> | 2.x.x | amd64, i386, arm64, arm/v7, arm/v6, ppc64le, s390x |
其中
<tag>指本仓库的Git标签。
容器内的工作目录为 /data/,应将本地项目根目录(包含setup.cfg或tox.ini配置文件)挂载到此目录。
bashdocker run --rm -v $(pwd):/data cytopia/pylint .
选择以下Docker化的代码检查工具,避免安装依赖,实现可重现的本地或远程CI测试:
| GitHub | DockerHub | 类型 | 描述 |
|---|---|---|---|
| https://github.com/cytopia/awesome-ci | https://hub.docker.com/r/cytopia/awesome-ci | 基础工具 | Git、文件和静态源代码分析工具 |
| https://github.com/cytopia/docker-file-lint | https://hub.docker.com/r/cytopia/file-lint | 基础工具 | 基础源代码分析 |
| https://github.com/cytopia/docker-linkcheck | https://hub.docker.com/r/cytopia/linkcheck | 基础工具 | 搜索文件中的URL并验证HTTP状态码 |
| https://github.com/cytopia/docker-ansible | https://hub.docker.com/r/cytopia/ansible | Ansible | 多版本和类型的Ansible |
| https://github.com/cytopia/docker-ansible-lint | https://hub.docker.com/r/cytopia/ansible-lint | Ansible | Ansible代码检查 |
| https://github.com/cytopia/docker-gofmt | https://hub.docker.com/r/cytopia/gofmt | Go | Go源代码格式化 [1] |
| https://github.com/cytopia/docker-goimports | https://hub.docker.com/r/cytopia/goimports | Go | Go源代码格式化 [1] |
| https://github.com/cytopia/docker-golint | https://hub.docker.com/r/cytopia/golint | Go | Go代码检查 |
| https://github.com/cytopia/docker-eslint | https://hub.docker.com/r/cytopia/eslint | JavaScript | JavaScript代码检查 |
| https://github.com/cytopia/docker-jsonlint | https://hub.docker.com/r/cytopia/jsonlint | JSON | JSON文件检查 [1] |
| https://github.com/cytopia/docker-kubeval | https://hub.docker.com/r/cytopia/kubeval | Kubernetes | Kubernetes文件检查 |
| https://github.com/cytopia/docker-checkmake | https://hub.docker.com/r/cytopia/checkmake | Make | Makefile检查 |
| https://github.com/cytopia/docker-phpcbf | https://hub.docker.com/r/cytopia/phpcbf | PHP | PHP代码美化与修复 |
| https://github.com/cytopia/docker-phpcs | https://hub.docker.com/r/cytopia/phpcs | PHP | PHP代码嗅探 |
| https://github.com/cytopia/docker-phplint | https://hub.docker.com/r/cytopia/phplint | PHP | PHP代码检查 [1] |
| https://github.com/cytopia/docker-php-cs-fixer | https://hub.docker.com/r/cytopia/php-cs-fixer | PHP | PHP编码标准修复 |
| https://github.com/cytopia/docker-bandit | https://hub.docker.com/r/cytopia/bandit | Python | PyCQA安全检查工具 |
| https://github.com/cytopia/docker-black | https://hub.docker.com/r/cytopia/black | Python | 严格的Python代码格式化工具 |
| https://github.com/cytopia/docker-mypy | https://hub.docker.com/r/cytopia/mypy | Python | 静态源代码分析 |
| https://github.com/cytopia/docker-pycodestyle | https://hub.docker.com/r/cytopia/pycodestyle | Python | Python风格指南检查 |
| https://github.com/cytopia/docker-pydocstyle | https://hub.docker.com/r/cytopia/pydocstyle | Python | Python文档风格检查 |
| https://github.com/cytopia/docker-pylint | https://hub.docker.com/r/cytopia/pylint | Python | Python源代码、bug和质量检查 |
| https://github.com/cytopia/docker-terraform-docs | https://hub.docker.com/r/cytopia/terraform-docs | Terraform | Terraform文档生成器(支持TF 0.12)[1] |
| https://github.com/cytopia/docker-terragrunt | https://hub.docker.com/r/cytopia/terragrunt | Terraform | Terragrunt和Terraform |
| https://github.com/cytopia/docker-terragrunt-fmt | https://hub.docker.com/r/cytopia/terragrunt-fmt | Terraform | Terragrunt文件的terraform fmt [1] |
| https://github.com/cytopia/docker-yamlfmt | https://hub.docker.com/r/cytopia/yamlfmt | YAML | YAML文件格式化 [1] |
| https://github.com/cytopia/docker-yamllint | https://hub.docker.com/r/cytopia/yamllint | YAML | YAML文件检查 |
[1] 使用shell包装器添加原始项目不具备的增强功能。
MIT许可证
版权所有 (c) 2019 https://github.com/cytopia
您可以使用以下命令拉取该镜像。请将 <标签> 替换为具体的标签版本。如需查看所有可用标签版本,请访问 标签列表页面。
来自真实用户的反馈,见证轩辕镜像的优质服务