cromrots查看中文加速指南
仅包含Open Policy Agent二进制文件的Docker镜像,可作为命令行工具使用。
下载次数: 0状态:社区镜像维护者:cromrots仓库类型:镜像最近更新:
Open Policy Agent Docker image
This project builds a binary-only docker image for the https://www.openpolicyagent.org/ command line tool.
Source
Visit the https://github.com/SebastiaanPasterkamp/opa-docker for the source code.
Usage:
The docker image can be used as a drop-in command line tool:
bashdocker run --rm -i cromrots/opa fmt < policy.rego
Or as a CI image:
yaml... - name: rego:test image: cromrots/opa commands: - opa test -v internal/policy/rego/ - opa test -v internal/policy/testdata/ ...
Security
The binary is build using the official golang image,
by calling go install github.com/open-policy-agent/opa.
The final base image is FROM scratch, and runs as a
non-root user/group 1000:2000 in /etc/passwd.
镜像拉取方式
您可以使用以下命令拉取该镜像。请将 <标签> 替换为具体的标签版本。如需查看所有可用标签版本,请访问 标签列表页面。
DockerHub 原生拉取命令
docker pull cromrots/opa:<标签>
用户好评
来自真实用户的反馈,见证轩辕镜像的优质服务