Skip to content

Golang without root - ecosystem securityΒ #463

@tspearconquest

Description

@tspearconquest

Hello!

I want to ask about the possibility of getting an additional tag added to dockerhub which offers a golang image built to run by default as a non-root user.

My goal with this is to make the ecosystem more secure. By publishing the golang image without dropping from the root user, we're breaking the principle of least privilege. Since golang is built on top of other images like alpine and debian, it's generally not a great practice to publish the images so that they start up as root by default because it allows for the package manager to be accessed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions