Skip to content

Commit

Permalink
[docker] Add docker metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
manugarg committed Jan 13, 2024
1 parent 4dbb1c8 commit 039dd72
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,16 @@ FROM alpine:latest
WORKDIR /app
COPY --from=build-stage /build/pactester /app/

# Metadata params
ARG BUILD_DATE
ARG VERSION
ARG VCS_REF
# Metadata
LABEL org.label-schema.build-date=$BUILD_DATE \
org.label-schema.name="Pactester" \
org.label-schema.vcs-url="https://github.com/manugarg/pacparser" \
org.label-schema.vcs-ref=$VCS_REF \
org.label-schema.version=$VERSION \
com.microscaling.license="Apache-2.0"

ENTRYPOINT ["/app/pactester"]

0 comments on commit 039dd72

Please sign in to comment.