summaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorGravatar Matthias Jaros <jarlucmat@mailbox.org>2025-10-27 17:41:35 +0100
committerGravatar Matthias Jaros <jarlucmat@mailbox.org>2025-10-27 17:41:35 +0100
commit8621b63f2c8aa0227b1b0e30084b67fb1c7172b4 (patch)
tree7140446f31ae2f9a3c44537021290cf3b6c3d4ec /Dockerfile
parent7606dc180c8c1a685935fb32ebb5a4a7d24240f9 (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