From fcfb941ba2746cf183f2ae37b826c25a4443b981 Mon Sep 17 00:00:00 2001 From: Jose Quintana Date: Tue, 15 Mar 2022 21:41:19 +0100 Subject: chore: cgit `1.2.3-r2` --- Dockerfile | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'Dockerfile') diff --git a/Dockerfile b/Dockerfile index 668c96e..98dc8cd 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,10 @@ FROM nginx:1.21.5-alpine +ARG VERSION=0.0.0 +ENV VERSION=${VERSION} + # CGit -ARG CGIT_VERSION=1.2.3-r0 +ARG CGIT_VERSION=1.2.3-r2 ENV CGIT_VERSION=${CGIT_VERSION} ENV CGIT_TITLE="cgit" ENV CGIT_DESC="The hyperfast web frontend for Git repositories" @@ -9,8 +12,8 @@ ENV CGIT_VROOT="/" ENV CGIT_SECTION_FROM_STARTPATH=0 ENV CGIT_MAX_REPO_COUNT=50 -LABEL version="${CGIT_VERSION}" \ - description="The hyperfast web frontend for Git repositories on top of Alpine + Nginx." \ +LABEL version="${VERSION}" \ + description="The hyperfast web frontend for Git repositories on top of Alpine and Nginx." \ maintainer="Jose Quintana " RUN set -eux \ @@ -50,6 +53,6 @@ CMD chown nginx:nginx /var/cache/cgit \ 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 + Nginx." \ - org.opencontainers.image.version="${CGIT_VERSION}" \ + 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