From 2a376de4c66ed45f64e9659be82b113160f07043 Mon Sep 17 00:00:00 2001 From: Timo Reymann Date: Fri, 20 Oct 2023 11:28:16 +0200 Subject: [PATCH] feat: Add oci labels --- Dockerfile | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/Dockerfile b/Dockerfile index 7be22fa..02fe070 100644 --- a/Dockerfile +++ b/Dockerfile @@ -17,7 +17,18 @@ RUN /purge-bins && \ rm -rf /media /mnt FROM scratch +LABEL org.opencontainers.image.title="chrooted-ftp" +LABEL org.opencontainers.image.description="A dead simple alpine-based docker container to allow users only access their own home directory." +LABEL org.opencontainers.image.ref.name="main" +LABEL org.opencontainers.image.licenses='"Climate Strike" License Version 1.0 (Draft)' +LABEL org.opencontainers.image.vendor="Timo Reymann " +LABEL org.opencontainers.image.authors="Timo Reymann " +LABEL org.opencontainers.image.url="https://github.com/timo-reymann/chrooted-ftp" +LABEL org.opencontainers.image.documentation="https://github.com/timo-reymann/chrooted-ftp" +LABEL org.opencontainers.image.source="https://github.com/timo-reymann/chrooted-ftp.git" + COPY --from=base_system / / + ENV UMASK 022 ENV PASSIVE_MIN_PORT 10090 ENV PASSIVE_MAX_PORT 10100