From 97d525ac4935a0ee7100c53b412a66b594595304 Mon Sep 17 00:00:00 2001 From: Robert Hafner Date: Tue, 26 Oct 2021 19:11:26 -0500 Subject: [PATCH] Add description label to containers --- dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dockerfile b/dockerfile index 1499631..e2d557c 100644 --- a/dockerfile +++ b/dockerfile @@ -23,9 +23,12 @@ FROM python:$publish_target ARG python_version ARG package ARG maintainer="" +ARG TARGETPLATFORM="" LABEL python=$version LABEL package=$package LABEL maintainer=$maintainer +LABEL org.opencontainers.image.description="python:$publish_target $package:$package_version $TARGETPLATFORM" + # Copy all of the python files built in the Builder container into this smaller container. COPY --from=Builder /usr/local/lib/python$python_version /usr/local/lib/python$python_version