From 299d272815ee6fcb8e15106d4c08aca6bfc44188 Mon Sep 17 00:00:00 2001 From: Nicolas MASSE Date: Sat, 16 Jun 2018 22:11:52 +0200 Subject: [PATCH] fix missing epel repo --- rtorrent/Dockerfile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/rtorrent/Dockerfile b/rtorrent/Dockerfile index c3ad367..c4ea5f6 100644 --- a/rtorrent/Dockerfile +++ b/rtorrent/Dockerfile @@ -1,9 +1,16 @@ FROM centos:7 -RUN yum update -y \ +# Enable the EPEL Repository +RUN curl -o /tmp/epel-release-latest-7.noarch.rpm http://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm \ + && rpm -Uvh /tmp/epel-release-latest-7.noarch.rpm \ +# Update the system + && yum update -y \ +# Install rtorrent and expect (provides "unbuffer") && yum -y install rtorrent expect \ +# Cleanup && yum clean all \ && rm -rf /var/cache/yum \ +# Create a directory to hold the data and the configuration && mkdir /torrent /etc/rtorrent # Where leeched / seeded files are stored