File Dockerfile of Package transmission-docker

# Define the names/tags of the container
#!BuildTag: opensuse/transmission:latest opensuse/transmission:%PKG_VERSION% opensuse/transmission:%PKG_VERSION%.%RELEASE%

FROM opensuse/tumbleweed:latest

# Define labels according to https://en.opensuse.org/Building_derived_containers
# labelprefix=org.opensuse.example
LABEL io.containers.autoupdate="registry"
LABEL org.opencontainers.image.authors="Matěj Cepl <mcepl@cepl.eu>"
LABEL org.opencontainers.image.title="opensuse/transmission"
LABEL org.opencontainers.image.description="Transmission container"
LABEL org.opencontainers.image.version="%PKG_VERSION%.%RELEASE%"
LABEL org.opensuse.reference="registry.opensuse.org/opensuse/example:%PKG_VERSION%.%RELEASE%"
LABEL org.openbuildservice.disturl="%DISTURL%"
LABEL org.opencontainers.image.created="%BUILDTIME%"

EXPOSE 9091
EXPOSE 51413/tcp
EXPOSE 51413/udp

# Set default values

ENV SEED_RATIO=1.3
VOLUME /config
VOLUME /download

RUN zypper --non-interactive in openSUSE-release-appliance-docker \
transmission-daemon transmission transmission-common \
&& zypper clean -a

ENTRYPOINT /usr/bin/transmission-daemon -f -M -C -gsr $SEED_RATIO \
    -w /download -e /config/transmission-daemon.log -g /config
openSUSE Build Service is sponsored by