Skip to content

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

@svrnm

Description

@svrnm

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthappy linterRelated to satisfy linting and best practices

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions