From 61241f11ac94eb33bd84e399129992250eff56ce Mon Sep 17 00:00:00 2001 From: Ralph Slooten Date: Sat, 23 Mar 2024 16:42:18 +1300 Subject: [PATCH] Chore: Add labels to Docker image (#267) --- Dockerfile | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Dockerfile b/Dockerfile index 13e7517..39515de 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,6 +12,13 @@ CGO_ENABLED=0 go build -ldflags "-s -w -X github.com/axllent/mailpit/config.Vers FROM alpine:latest +LABEL org.opencontainers.image.title="Mailpit" \ + org.opencontainers.image.description="An email and SMTP testing tool with API for developers" \ + org.opencontainers.image.source="https://github.com/axllent/mailpit" \ + org.opencontainers.image.url="https://mailpit.axllent.org" \ + org.opencontainers.image.documentation="https://mailpit.axllent.org/docs/" \ + org.opencontainers.image.licenses="MIT" + COPY --from=builder /mailpit /mailpit RUN apk add --no-cache tzdata