Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature]: Ensure that Dockerfiles have a healthcheck and a non-root user #65

Open
2 tasks done
svrnm opened this issue Dec 30, 2024 · 0 comments
Open
2 tasks done
Labels
enhancement New feature or request happy linter Related to satisfy linting and best practices

Comments

@svrnm
Copy link
Member

svrnm commented Dec 30, 2024

Problem Statement

The current Dockerfiles for services, databases and loaders do not have a HEALTHCHECK and a non-root user. Those are best practices as defined in CKV_DOCKER_2, CKV_DOCKER_3, see https://www.checkov.io/5.Policy%20Index/dockerfile.html

Proposed Solution

Fix all existing dockerfiles and also make sure that future dockerfiles follow this best practice

Alternatives Considered

No response

Additional Context

No response

Checklist

@svrnm svrnm added enhancement New feature or request triage This issue or pull request requires triaging happy linter Related to satisfy linting and best practices and removed triage This issue or pull request requires triaging labels Dec 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request happy linter Related to satisfy linting and best practices
Projects
None yet
Development

No branches or pull requests

1 participant