dockerfiles/net/rtorrent/Dockerfile

19 lines
295 B
Docker
Raw Normal View History

2015-02-04 05:17:12 +00:00
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