From bc3203a5c2a507aedfcb314119bf0ac65a12cce9 Mon Sep 17 00:00:00 2001 From: Shy Date: Wed, 24 Dec 2025 18:53:34 -0500 Subject: Cleanup Dockerfile --- Dockerfile | 19 +------------------ 1 file changed, 1 insertion(+), 18 deletions(-) (limited to 'Dockerfile') 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 " - 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" -- cgit v1.2.3