diff options
| -rw-r--r-- | Dockerfile | 13 |
1 files changed, 8 insertions, 5 deletions
@@ -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 <joseluisq.net>" 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" |
