dockerfiles/rtorrent/Dockerfile

19 lines
295 B
Docker

FROM xena/alpine:3.0
RUN apk update
RUN apk add rtorrent rsync openssh
RUN adduser torrent -D -s /bin/sh
RUN echo "torrent:torrent" | chpasswd
RUN mkdir /torrents
RUN chown torrent /torrents
RUN chmod 777 /torrents
ADD rtorrent.rc /home/torrent/.rtorrent.rc
USER torrent
VOLUME /torrents