-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
enhancementNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is needed
Description
This issue is dedicated to tracking the development of security policies to validate Dockerfiles using Genval. We aim to enhance the security and adherence to best practices when creating Dockerfiles.
Included Policies:
- Enforcing the use of the Chainguard image as the base image.
- Denying the use of
rootor0as the UID and GID. - Prohibiting the use of sudo in
RUNinstructions. - Enforcing cache invalidation for
RUNinstructions when updating packages or dependencies usingapt,apk,yum`, etc. - Promoting the use of
COPYoverADDinstructions. - Enforce multistage Dockerfiles.
These policies are a foundational framework for creating secure Dockerfiles that align with industry best practices. However, we recognize that there may be additional policies worth considering. Your input and suggestions are highly encouraged – please share your thoughts and ideas here.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is needed