diff options
Diffstat (limited to 'Dockerfile')
| -rw-r--r-- | Dockerfile | 24 | +12 −12 |
1 files changed, 12 insertions, 12 deletions
diff --git a/Dockerfile b/Dockerfile index a625eb1..bd6957a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -13,23 +13,18 @@ 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" RUN apk add --no-cache \ - bzip2=1.0.8-r6 \ git=2.49.1-r0 \ - git-daemon=2.49.1-r0 \ libgcc=14.2.0-r6 \ - lzip=1.25-r0 \ openssh-keygen=10.0_p1-r10 \ openssh-server=10.0_p1-r10 \ su-exec=0.2-r3 \ - tini=0.19.0-r3 \ - xz=5.8.3-r0 \ - zstd=1.5.7-r0 && \ + tini=0.19.0-r3 && \ addgroup -S -g 10000 git && \ install -d -m 0755 -o root -g root /var/lib/gilti && \ adduser -S -D -u 10000 -G git -h /var/lib/gilti/git -s /bin/sh git && \ @@ -44,17 +39,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 |
