switch to org.opencontainers docker image labels

This commit is contained in:
Robert Kaussow 2020-12-25 16:31:37 +01:00
parent 20773cbb24
commit c6dc395239
Signed by: xoxys
GPG Key ID: 65362AE74AF98B61
2 changed files with 9 additions and 6 deletions

View File

@ -1,2 +1,4 @@
- BREAKING
- Drop Python 3.5 support
- ENHANCEMENT
- update package dependencies
- Switch to `org.opencontainers` docker image labels

View File

@ -1,10 +1,11 @@
FROM python:3.9-alpine
LABEL maintainer="Robert Kaussow <mail@thegeeklab.de>" \
org.label-schema.name="docker-tidy" \
org.label-schema.vcs-url="https://github.com/thegeeklab/docker-tidy" \
org.label-schema.vendor="Robert Kaussow" \
org.label-schema.schema-version="1.0"
LABEL maintainer="Robert Kaussow <mail@thegeeklab.de>"
LABEL org.opencontainers.image.authors="Robert Kaussow <mail@thegeeklab.de>"
LABEL org.opencontainers.image.title="docker-tidy"
LABEL org.opencontainers.image.url="https://docker-tidy.geekdocs.de/"
LABEL org.opencontainers.image.source="https://github.com/thegeeklab/docker-tidy"
LABEL org.opencontainers.image.documentation="https://docker-tidy.geekdocs.de/"
ENV PY_COLORS=1
ENV TZ=UTC