aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile19+12 −7
1 files changed, 12 insertions, 7 deletions
diff --git a/Dockerfile b/Dockerfile
index a625eb1..9db5a5b 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -13,7 +13,7 @@ ARG REVISION=unknown
LABEL org.opencontainers.image.title="Gilti" \
org.opencontainers.image.description="Tiny Git server in a box" \
- org.opencontainers.image.source="https://git.dimidiumlabs.io/gilti" \
+ org.opencontainers.image.source="https://github.com/dimidiumlabs/gilti" \
org.opencontainers.image.version="$VERSION" \
org.opencontainers.image.revision="$REVISION" \
org.opencontainers.image.licenses="AGPL-3.0-or-later"
@@ -28,7 +28,7 @@ RUN apk add --no-cache \
openssh-server=10.0_p1-r10 \
su-exec=0.2-r3 \
tini=0.19.0-r3 \
- xz=5.8.3-r0 \
+ xz=5.8.1-r0 \
zstd=1.5.7-r0 && \
addgroup -S -g 10000 git && \
install -d -m 0755 -o root -g root /var/lib/gilti && \
@@ -44,17 +44,22 @@ RUN apk add --no-cache \
COPY --chown=root:root --chmod=0755 \
.container/binary-${TARGETARCH}/gilti \
+ .container/binary-${TARGETARCH}/gilti-cgit \
.container/binary-${TARGETARCH}/gilti-ssh \
/usr/local/bin/
COPY --chown=root:root \
- .container/binary-${TARGETARCH}/gilti.css \
- .container/binary-${TARGETARCH}/gilti.js \
- .container/binary-${TARGETARCH}/gilti.png \
+ .container/binary-${TARGETARCH}/cgit.css \
+ .container/binary-${TARGETARCH}/cgit.js \
+ .container/binary-${TARGETARCH}/cgit.png \
.container/binary-${TARGETARCH}/favicon.ico \
- /usr/share/gilti/
+ /usr/share/webapps/cgit/
+COPY --chown=root:root \
+ .container/binary-${TARGETARCH}/COPYING.cgit.txt \
+ .container/binary-${TARGETARCH}/COPYING.git.txt \
+ /usr/share/doc/gilti-cgit/
COPY --chown=root:root config/sshd_config /etc/ssh/sshd_config
COPY --chown=root:root --chmod=0755 scripts/entrypoint.sh /usr/local/bin/gilti-entrypoint
-COPY --chown=root:root LICENSE README.md LICENSES/ /usr/share/doc/gilti/
+COPY --chown=root:root LICENSE README.md /usr/share/doc/gilti/
RUN /usr/local/bin/gilti --check && \
/usr/local/bin/gilti-ssh --check