Skip to content

Commit 97d525a

Browse files
committed
Add description label to containers
1 parent 819afdf commit 97d525a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,12 @@ FROM python:$publish_target
2323
ARG python_version
2424
ARG package
2525
ARG maintainer=""
26+
ARG TARGETPLATFORM=""
2627
LABEL python=$version
2728
LABEL package=$package
2829
LABEL maintainer=$maintainer
30+
LABEL org.opencontainers.image.description="python:$publish_target $package:$package_version $TARGETPLATFORM"
31+
2932

3033
# Copy all of the python files built in the Builder container into this smaller container.
3134
COPY --from=Builder /usr/local/lib/python$python_version /usr/local/lib/python$python_version

0 commit comments

Comments
 (0)