[FIX]Rsyncvolumes OL8 needs EPEL for sshpass remote sync

This commit is contained in:
Fabien BOURGEOIS 2022-05-11 20:24:53 +02:00
parent c3bd96fe6d
commit e784bb676d
1 changed files with 4 additions and 1 deletions

View File

@ -3,7 +3,10 @@ LABEL maintainer="Yaltik - Fabien Bourgeois <fabien@yaltik.com>"
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