Check Dockerfile
gameye_check_dockerfileValidates a game server Dockerfile against the Gameye container contract offline, flagging port, launch, user, and credential issues with severity, line, and fix guidance.
Instructions
Works without a Gameye account or token. Check game server Dockerfile text against the gameye-containerize container contract, offline: linux/amd64 base, exposed ports and protocols, exec-form launch without npm/yarn start, no loopback bind, non-root user, and no API token or credential in ENV/ARG. Returns findings with severity, rule code, line, message and fix, plus what the check cannot know. Pass the Dockerfile text itself; this tool reads no files and sends nothing.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"dockerfile": "<dockerfile>"
},
"name": "gameye_check_dockerfile"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ports | No | Optional: the ports and protocols the server binds, to check against EXPOSE | |
| dockerfile | Yes | The full Dockerfile text (not a path) |