summaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorGravatar Matthias Lucas Jaros <jarlucmat@mailbox.org>2025-10-27 17:41:35 +0100
committerGravatar Matthias Lucas Jaros <jarlucmat@mailbox.org>2025-10-27 17:41:35 +0100
commite6fd29bfe889be243609235e42fcfb9660b91488 (patch)
tree7140446f31ae2f9a3c44537021290cf3b6c3d4ec /Dockerfile
parent83432a182b91aa13dc6b988e75f9d0f7c2b2ef7b (diff)
Updated VERSION handling and added LICENSE file to docker image
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile10
1 files changed, 10 insertions, 0 deletions
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