# Base on latest (edge) alpine image FROM harbor.ervine.dev/public/x86_64/alpine:v3.13.2 LABEL Maintainer="Jonathan Ervine docker@ervine.org" LABEL build-date="02 10 2020" # Install updates ENV LANG='en_US.UTF-8' \ LANGUAGE='en_US.UTF-8' \ TERM='xterm' RUN echo http://dl-4.alpinelinux.org/alpine/edge/testing >> /etc/apk/repositories && \ apk update && \ apk -U upgrade --ignore alpine-baselayout && \ apk -U add transmission-daemon && \ wget https://github.com/Secretmapper/combustion/archive/release.zip && \ unzip release.zip && \ mv combustion-release/* /usr/share/transmission/web/ && \ rmdir combustion-release && \ addgroup -g 1027 torrent && \ adduser -D -u 1027 -G torrent -H torrent && \ rm release.zip RUN rm -rf /var/cache/apk/* EXPOSE 9091 56451 56451/udp VOLUME /config #USER torrent CMD [ "/usr/bin/transmission-daemon", "-f", "-g", "/config/" ]