From 6b7ffe0e2650837e2264694deb6bd263f98f4a8f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Guillot?= Date: Sat, 13 Feb 2021 16:27:23 -0800 Subject: [PATCH] Add Open Containers annotations to Docker image --- packaging/docker/Dockerfile | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/packaging/docker/Dockerfile b/packaging/docker/Dockerfile index 833f8271..34554d89 100644 --- a/packaging/docker/Dockerfile +++ b/packaging/docker/Dockerfile @@ -9,8 +9,18 @@ RUN go build \ main.go FROM alpine:latest + +LABEL org.opencontainers.image.title=Miniflux +LABEL org.opencontainers.image.description="Miniflux is a minimalist and opinionated feed reader" +LABEL org.opencontainers.image.vendor="Frédéric Guillot" +LABEL org.opencontainers.image.licenses=Apache-2.0 +LABEL org.opencontainers.image.url=https://miniflux.app +LABEL org.opencontainers.image.source=https://github.com/miniflux/v2 +LABEL org.opencontainers.image.documentation=https://miniflux.app/docs/ + EXPOSE 8080 ENV LISTEN_ADDR 0.0.0.0:8080 + RUN apk --no-cache add ca-certificates tzdata COPY --from=build /go/src/app/miniflux /usr/bin/miniflux USER nobody