From e784bb676d23247fea7927850eeb851bc57c17f4 Mon Sep 17 00:00:00 2001 From: Fabien BOURGEOIS Date: Wed, 11 May 2022 20:24:53 +0200 Subject: [PATCH] [FIX]Rsyncvolumes OL8 needs EPEL for sshpass remote sync --- backups/rsyncvolumes/Dockerfile.c7 | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/backups/rsyncvolumes/Dockerfile.c7 b/backups/rsyncvolumes/Dockerfile.c7 index 8fc70bf..d634c19 100644 --- a/backups/rsyncvolumes/Dockerfile.c7 +++ b/backups/rsyncvolumes/Dockerfile.c7 @@ -3,7 +3,10 @@ LABEL maintainer="Yaltik - Fabien Bourgeois " ENV SOURCE="/var/lib/docker/volumes" DEST="/var/backups/" -RUN yum -y install gettext rsync ssh sshpass cronie && yum clean all +RUN yum -y install gettext rsync ssh cronie && \ + yum -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm && \ + yum --enablerepo=epel -y install sshpass && \ + yum clean all # Avoid overlayfs bug with tail VOLUME /var/log