Skip to content

Commit

Permalink
Switch to Open Container Specification labels as label-schema.org one…
Browse files Browse the repository at this point in the history
…s are deprecated
  • Loading branch information
crazy-max committed Apr 7, 2020
1 parent 12e43b2 commit 47c3ea8
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@ ARG BUILDPLATFORM
RUN printf "I am running on ${BUILDPLATFORM:-linux/amd64}, building for ${TARGETPLATFORM:-linux/amd64}\n$(uname -a)\n"

LABEL maintainer="CrazyMax" \
org.label-schema.build-date=$BUILD_DATE \
org.label-schema.name="fail2ban" \
org.label-schema.description="Fail2ban" \
org.label-schema.version=$VERSION \
org.label-schema.url="https://github.com/crazy-max/docker-fail2ban" \
org.label-schema.vcs-ref=$VCS_REF \
org.label-schema.vcs-url="https://github.com/crazy-max/docker-fail2ban" \
org.label-schema.vendor="CrazyMax" \
org.label-schema.schema-version="1.0"
org.opencontainers.image.created=$BUILD_DATE \
org.opencontainers.image.url="https://github.com/crazy-max/docker-fail2ban" \
org.opencontainers.image.source="https://github.com/crazy-max/docker-fail2ban" \
org.opencontainers.image.version=$VERSION \
org.opencontainers.image.revision=$VCS_REF \
org.opencontainers.image.vendor="CrazyMax" \
org.opencontainers.image.title="Fail2ban" \
org.opencontainers.image.description="Fail2ban" \
org.opencontainers.image.licenses="MIT"

ENV FAIL2BAN_VERSION="0.11.1" \
TZ="UTC"
Expand Down

0 comments on commit 47c3ea8

Please sign in to comment.