2026-01-25 21:35:57 -08:00
|
|
|
# Transmission BitTorrent daemon
|
|
|
|
|
# Simpler alternative to linuxserver image
|
|
|
|
|
|
2026-03-04 07:44:33 -08:00
|
|
|
ARG CONTAINER_APP_VERSION=4.1.1-r1
|
2026-02-20 22:50:01 -08:00
|
|
|
|
2026-02-13 17:16:37 -08:00
|
|
|
FROM alpine:3.22
|
2026-01-25 21:35:57 -08:00
|
|
|
|
2026-02-20 22:50:01 -08:00
|
|
|
ARG CONTAINER_APP_VERSION
|
|
|
|
|
ARG TRANSMISSION_VERSION=${CONTAINER_APP_VERSION}
|
2026-01-25 21:35:57 -08:00
|
|
|
|
2026-03-18 20:42:00 -07:00
|
|
|
LABEL org.opencontainers.image.title="Transmission"
|
|
|
|
|
LABEL org.opencontainers.image.description="Transmission BitTorrent daemon"
|
|
|
|
|
LABEL org.opencontainers.image.version="${CONTAINER_APP_VERSION}"
|
|
|
|
|
LABEL org.opencontainers.image.source="https://forge.eblu.me/eblume/blumeops"
|
|
|
|
|
LABEL org.opencontainers.image.vendor="blumeops"
|
|
|
|
|
|
2026-03-04 07:44:33 -08:00
|
|
|
# Transmission 4.1.x is only in edge; base OS stays on stable 3.22
|
2026-01-25 21:35:57 -08:00
|
|
|
RUN apk add --no-cache \
|
2026-03-04 07:44:33 -08:00
|
|
|
--repository=https://dl-cdn.alpinelinux.org/alpine/edge/community \
|
2026-01-25 21:35:57 -08:00
|
|
|
transmission-daemon=${TRANSMISSION_VERSION} \
|
|
|
|
|
transmission-cli=${TRANSMISSION_VERSION} \
|
|
|
|
|
transmission-remote=${TRANSMISSION_VERSION} \
|
2026-03-04 07:44:33 -08:00
|
|
|
&& apk add --no-cache \
|
2026-01-25 21:35:57 -08:00
|
|
|
bash \
|
|
|
|
|
curl \
|
|
|
|
|
tzdata \
|
|
|
|
|
su-exec
|
|
|
|
|
|
|
|
|
|
# Create directories (user is created dynamically by start.sh based on PUID/PGID)
|
|
|
|
|
RUN mkdir -p /config /downloads/complete /downloads/incomplete
|
|
|
|
|
|
|
|
|
|
COPY start.sh /start.sh
|
|
|
|
|
RUN chmod +x /start.sh
|
|
|
|
|
|
|
|
|
|
EXPOSE 9091 51413/tcp 51413/udp
|
|
|
|
|
|
|
|
|
|
VOLUME ["/config", "/downloads"]
|
|
|
|
|
|
|
|
|
|
ENTRYPOINT ["/start.sh"]
|