aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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"