From 04de9778553adc376d43db21d40a6b93808c9913 Mon Sep 17 00:00:00 2001 From: Pablo Alcantara <pablo@pabloalcantara.eti.br> Date: Tue, 6 Aug 2019 23:25:05 -0300 Subject: [PATCH] dockerfile: add rsync (#5773) * Add rsync to docker. Add rsync to docker. Rsync is nearly a necessity to optimize backup inside Openshift container. Using TAR (default without Rsync), the process of external backup constantly stops at the middle. * Add rsync to docker Add rsync to docker. Rsync is nearly a necessity to optimize backup inside Openshift container. Using TAR (default without Rsync), the process of external backup constantly stops at the middle. * Add rsync to docker Add rsync to docker. Rsync is nearly a necessity to optimize backup inside Openshift container. Using TAR (default without Rsync), the process of external backup constantly stops at the middle. * Add rsync to docker Add rsync to docker. Rsync is nearly a necessity to optimize backup inside Openshift container. Using TAR (default without Rsync), the process of external backup constantly stops at the middle. --- Dockerfile | 3 ++- Dockerfile.aarch64 | 3 ++- Dockerfile.rpi | 3 ++- Dockerfile.rpihub | 3 ++- 4 files changed, 8 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index b946fa7f5..2835da01b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -20,7 +20,8 @@ RUN chmod +x /usr/sbin/gosu \ s6 \ shadow \ socat \ - tzdata + tzdata \ + rsync ENV GOGS_CUSTOM /data/gogs diff --git a/Dockerfile.aarch64 b/Dockerfile.aarch64 index 1d6e44ab8..e4c5392e8 100644 --- a/Dockerfile.aarch64 +++ b/Dockerfile.aarch64 @@ -14,7 +14,8 @@ RUN chmod +x /usr/sbin/gosu \ s6 \ shadow \ socat \ - tzdata + tzdata \ + rsync ENV GOGS_CUSTOM /data/gogs diff --git a/Dockerfile.rpi b/Dockerfile.rpi index 51d5fbd7e..094dbe59f 100644 --- a/Dockerfile.rpi +++ b/Dockerfile.rpi @@ -14,7 +14,8 @@ RUN chmod +x /usr/sbin/gosu \ s6 \ shadow \ socat \ - tzdata + tzdata \ + rsync ENV GOGS_CUSTOM /data/gogs diff --git a/Dockerfile.rpihub b/Dockerfile.rpihub index 0038b6c8e..1091e4fe0 100644 --- a/Dockerfile.rpihub +++ b/Dockerfile.rpihub @@ -30,7 +30,8 @@ RUN chmod +x /usr/sbin/gosu \ s6 \ shadow \ socat \ - tzdata + tzdata \ + rsync # Configure LibC Name Service COPY docker/nsswitch.conf /etc/nsswitch.conf