ctbrec-alpine (26.3.18)
Published 2026-05-22 14:33:03 +02:00 by niels
Installation
docker pull forgejo.nielsbox.cc/niels/ctbrec-alpine:26.3.18sha256:6ac642fd7cabdb079352806691c8dc9b79ca462a81fb13dba6a00976919028c5Image layers
| ADD alpine-minirootfs-3.23.3-x86_64.tar.gz / # buildkit |
| CMD ["/bin/sh"] |
| ARG TARGETPLATFORM=linux/amd64 |
| ARG S6_OVERLAY_VERSION=3.2.0.2 |
| ARG CTBVER=26.3.18 |
| ENV CTBVER=26.3.18 |
| ENV HOME=/app |
| COPY rootfs/ / # buildkit |
| RUN |3 TARGETPLATFORM=linux/amd64 S6_OVERLAY_VERSION=3.2.0.2 CTBVER=26.3.18 /bin/sh -c apk add --update --no-cache tar xz jq ffmpeg curl ttf-dejavu openjdk21-jre-headless tzdata python3 py3-urllib3 py3-requests shadow 7zip && [ "$TARGETPLATFORM" = "linux/arm64" ] && S6_ARCH=aarch64 || S6_ARCH=x86_64 && curl -s -L -o /tmp/s6-overlay-noarch.tar.xz https://github.com/just-containers/s6-overlay/releases/download/v${S6_OVERLAY_VERSION}/s6-overlay-noarch.tar.xz && curl -s -L -o /tmp/s6-overlay-${S6_ARCH}.tar.xz https://github.com/just-containers/s6-overlay/releases/download/v${S6_OVERLAY_VERSION}/s6-overlay-${S6_ARCH}.tar.xz && curl -s -L -o /tmp/s6-overlay-symlinks-noarch.tar.xz https://github.com/just-containers/s6-overlay/releases/download/v${S6_OVERLAY_VERSION}/s6-overlay-symlinks-noarch.tar.xz && tar -C / --strip-components=1 -Jxpf /tmp/s6-overlay-noarch.tar.xz && tar -C / --strip-components=1 -Jxpf /tmp/s6-overlay-${S6_ARCH}.tar.xz && tar -C / --strip-components=1 -Jxpf /tmp/s6-overlay-symlinks-noarch.tar.xz && rm /tmp/s6-overlay-*.tar.xz && if ! getent group users > /dev/null 2>&1; then addgroup -g 1000 users; fi && adduser -u 1000 -D -h /app -s /bin/false ctbrec && adduser ctbrec users && mkdir -p /app/config /app/media && apk del tar xz # buildkit |
| VOLUME [/app/media /app/config] |
| EXPOSE [8080/tcp 8443/tcp] |
| HEALTHCHECK &{["CMD-SHELL" "sh -x /app/healthcheck.sh"] "20s" "3s" "0s" "0s" '\x03'} |
| ENTRYPOINT ["/init"] |