Skip to content

Use newer OCI labels in Dockerfile #140

Open
@Mr0grog

Description

@Mr0grog

Our current Dockerfile uses the maintainer label:

FROM python:3.10.7-slim as base
LABEL maintainer="[email protected]"

Which has been deprecated in favor of a new, standardized org.opencontainers.image.authors label. In fact, there is a whole list of OCI-standardized labels that are supported by various tools (e.g. Dependabot now uses org.opencontainers.image.source to figure out release notes and so on) that we should be using: https://github.com/opencontainers/image-spec/blob/main/annotations.md#pre-defined-annotation-keys

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentationenhancementNew feature or requestgood first issueGood for newcomers

    Type

    No type

    Projects

    Status

    Inbox

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions