aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorShy <[email protected]>2025-12-24 18:53:34 -0500
committerShy <[email protected]>2025-12-24 18:53:34 -0500
commitbc3203a5c2a507aedfcb314119bf0ac65a12cce9 (patch)
tree19d925cfca741c900726331189e9eca953128b27 /Dockerfile
parent9a17421e0e11b39b1c96880639bf679e30299089 (diff)
downloadalpine-cgit-bc3203a5c2a507aedfcb314119bf0ac65a12cce9.tar.xz
alpine-cgit-bc3203a5c2a507aedfcb314119bf0ac65a12cce9.zip
Cleanup Dockerfile
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile19
1 files changed, 1 insertions, 18 deletions
diff --git a/Dockerfile b/Dockerfile
index 814abe4..ff5cb17 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,11 +1,7 @@
FROM nginx:stable-alpine
-ARG VERSION=0.0.0
-ENV VERSION=${VERSION}
-
# CGit
-ARG CGIT_VERSION=1.2.3-r5
-ENV CGIT_VERSION=${CGIT_VERSION}
+ENV CGIT_VERSION=1.2.3-r5
# CGit default options
ENV CGIT_TITLE="CGit"
@@ -14,10 +10,6 @@ ENV CGIT_VROOT="/"
ENV CGIT_SECTION_FROM_STARTPATH=0
ENV CGIT_MAX_REPO_COUNT=50
-LABEL version="${VERSION}" \
- description="The hyperfast web frontend for Git repositories on top of Alpine and Nginx." \
- maintainer="Jose Quintana <joseluisq.net>"
-
RUN set -eux \
&& apk add --no-cache \
ca-certificates \
@@ -62,12 +54,3 @@ EXPOSE 80
STOPSIGNAL SIGQUIT
CMD [ "nginx", "-g", "daemon off;" ]
-
-
-# Metadata
-LABEL org.opencontainers.image.vendor="Jose Quintana" \
- org.opencontainers.image.url="https://github.com/joseluisq/alpine-cgit" \
- org.opencontainers.image.title="cgit" \
- org.opencontainers.image.description="The hyperfast web frontend for Git repositories on top of Alpine and Nginx." \
- org.opencontainers.image.version="${VERSION}" \
- org.opencontainers.image.documentation="https://github.com/joseluisq/alpine-cgit"