From 50182bf0a8d04743a5860fd9eaad18929e9e2015 Mon Sep 17 00:00:00 2001 From: Neil Alexander Date: Thu, 2 Nov 2023 19:07:01 +0000 Subject: [PATCH] Add OCI labels to Dockerfile --- Dockerfile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Dockerfile b/Dockerfile index 3e58f04..5091356 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,6 +7,11 @@ RUN apk add --no-cache --update go gcc g++ RUN go build -o /src/yggmail ./cmd/yggmail FROM docker.io/alpine + +LABEL org.opencontainers.image.source=https://github.com/neilalexander/yggmail +LABEL org.opencontainers.image.description=Yggmail +LABEL org.opencontainers.image.licenses=MPL-2.0 + COPY --from=builder /src/yggmail /usr/bin/yggmail EXPOSE 1143/tcp