一键导入
docker-test
Build and smoke-test the Docker image locally to validate Dockerfile and binary startup
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Build and smoke-test the Docker image locally to validate Dockerfile and binary startup
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Run govulncheck locally and check for outdated Go dependencies
Run gosec on a specific package and cross-reference findings against suppression list and TODO tracker
Generate table-driven Go tests for a package with httptest, context helpers, and config parsing patterns
Validate a config.yaml file against the Config schema and constraint rules from config/config.go
Draft conventional commit messages from staged changes for release-please
| name | docker-test |
| description | Build and smoke-test the Docker image locally to validate Dockerfile and binary startup |
| user_invocable | true |
Build the Docker image locally and verify the binary starts correctly.
/docker-test — no arguments needed
Dockerfile to understand the build stages and expected binary namedocker build -t hyprmcp-gw:test .
--help:docker run --rm hyprmcp-gw:test --help
docker inspect hyprmcp-gw:test --format '{{.Config.Entrypoint}} | User: {{.Config.User}}'
Report results:
docker images hyprmcp-gw:test --format '{{.Size}}')/mcp-gatewayClean up the test image:
docker rmi hyprmcp-gw:test
Build: OK (XX.Xs)
Binary: OK (--help exits 0)
Image: XX MB
Base: distroless nonroot
User: 65532