aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJose Quintana <[email protected]>2022-03-15 21:41:19 +0100
committerJose Quintana <[email protected]>2022-03-15 21:41:19 +0100
commitfcfb941ba2746cf183f2ae37b826c25a4443b981 (patch)
tree71e18350671eff77a9542000931248984a745a3d
parent7f2ded121a10caf99573bf00f18b168433256cef (diff)
downloadalpine-cgit-fcfb941ba2746cf183f2ae37b826c25a4443b981.tar.xz
alpine-cgit-fcfb941ba2746cf183f2ae37b826c25a4443b981.zip
chore: cgit `1.2.3-r2`
-rw-r--r--Dockerfile13
1 files changed, 8 insertions, 5 deletions
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 <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"