dockerfiles/net/rtorrent/Dockerfile

18 lines
289 B
Docker
Raw Normal View History

2016-06-10 19:44:06 +00:00
FROM alpine:3.3
2015-02-04 05:17:12 +00:00
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