Skip to content

Commit

Permalink
Add description label to containers
Browse files Browse the repository at this point in the history
  • Loading branch information
tedivm committed Oct 27, 2021
1 parent 819afdf commit 97d525a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 97d525a

Please sign in to comment.