aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPablo Alcantara <pablo@pabloalcantara.eti.br>2019-08-06 23:25:05 -0300
committerᴊ. ᴄʜᴇɴ <u@gogs.io>2019-08-06 19:25:04 -0700
commit04de9778553adc376d43db21d40a6b93808c9913 (patch)
treebe313711363d46507ee04931e5b2aebc588b6a01
parent591a05caa3fb8e3e7b9e5a86887d4d7532edaaaa (diff)
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.
-rw-r--r--Dockerfile3
-rw-r--r--Dockerfile.aarch643
-rw-r--r--Dockerfile.rpi3
-rw-r--r--Dockerfile.rpihub3
4 files changed, 8 insertions, 4 deletions
diff --git a/Dockerfile b/Dockerfile
index b946fa7f..2835da01 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 1d6e44ab..e4c5392e 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 51d5fbd7..094dbe59 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 0038b6c8..1091e4fe 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