From e6fd29bfe889be243609235e42fcfb9660b91488 Mon Sep 17 00:00:00 2001 From: Matthias Lucas Jaros Date: Mon, 27 Oct 2025 17:41:35 +0100 Subject: Updated VERSION handling and added LICENSE file to docker image --- Dockerfile | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'Dockerfile') diff --git a/Dockerfile b/Dockerfile index 9ee25e6..c5f3c94 100644 --- a/Dockerfile +++ b/Dockerfile @@ -20,3 +20,13 @@ RUN chmod 755 /usr/local/bin/git-run COPY src/version /usr/local/bin/ ENTRYPOINT ["/usr/local/bin/init"] + +# license information +LABEL org.opencontainers.image.licenses="GPL-3.0-or-later" +LABEL org.opencontainers.image.authors="Matthias Jaros" +LABEL org.opencontainers.image.source="https://github.com/youruser/yourrepo" +LABEL org.opencontainers.image.url="https://github.com/youruser/yourrepo" +LABEL org.opencontainers.image.title="git-server" +LABEL org.opencontainers.image.description="A minimal, secure Git server using SSH and Fish." +LABEL org.opencontainers.image.documentation="/usr/share/doc/git-server/LICENSE" +COPY LICENSE /usr/share/doc/git-server/LICENSE \ No newline at end of file -- cgit v1.3.1