mirror of https://github.com/gogs/gogs.git
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.pull/5786/head
parent
591a05caa3
commit
04de977855
|
@ -20,7 +20,8 @@ RUN chmod +x /usr/sbin/gosu \
|
||||||
s6 \
|
s6 \
|
||||||
shadow \
|
shadow \
|
||||||
socat \
|
socat \
|
||||||
tzdata
|
tzdata \
|
||||||
|
rsync
|
||||||
|
|
||||||
ENV GOGS_CUSTOM /data/gogs
|
ENV GOGS_CUSTOM /data/gogs
|
||||||
|
|
||||||
|
|
|
@ -14,7 +14,8 @@ RUN chmod +x /usr/sbin/gosu \
|
||||||
s6 \
|
s6 \
|
||||||
shadow \
|
shadow \
|
||||||
socat \
|
socat \
|
||||||
tzdata
|
tzdata \
|
||||||
|
rsync
|
||||||
|
|
||||||
ENV GOGS_CUSTOM /data/gogs
|
ENV GOGS_CUSTOM /data/gogs
|
||||||
|
|
||||||
|
|
|
@ -14,7 +14,8 @@ RUN chmod +x /usr/sbin/gosu \
|
||||||
s6 \
|
s6 \
|
||||||
shadow \
|
shadow \
|
||||||
socat \
|
socat \
|
||||||
tzdata
|
tzdata \
|
||||||
|
rsync
|
||||||
|
|
||||||
ENV GOGS_CUSTOM /data/gogs
|
ENV GOGS_CUSTOM /data/gogs
|
||||||
|
|
||||||
|
|
|
@ -30,7 +30,8 @@ RUN chmod +x /usr/sbin/gosu \
|
||||||
s6 \
|
s6 \
|
||||||
shadow \
|
shadow \
|
||||||
socat \
|
socat \
|
||||||
tzdata
|
tzdata \
|
||||||
|
rsync
|
||||||
|
|
||||||
# Configure LibC Name Service
|
# Configure LibC Name Service
|
||||||
COPY docker/nsswitch.conf /etc/nsswitch.conf
|
COPY docker/nsswitch.conf /etc/nsswitch.conf
|
||||||
|
|
Loading…
Reference in New Issue