summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2015-09-06 18:53:59 -0400
committerUnknwon <u@gogs.io>2015-09-06 18:53:59 -0400
commit232c22208c6ba1ad374352152e0900d895fcbe56 (patch)
tree25c04add2747ea0424482a6e0bf264923f50f6ff
parent0806725ca51770abf12fa3b5e99542826c123c77 (diff)
downloadgitea-232c22208c6ba1ad374352152e0900d895fcbe56.tar.gz
gitea-232c22208c6ba1ad374352152e0900d895fcbe56.zip
remove rsync
-rw-r--r--Dockerfile2
-rwxr-xr-xdocker/start.sh4
2 files changed, 1 insertions, 5 deletions
diff --git a/Dockerfile b/Dockerfile
index 9186a47116..64433cb052 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -5,7 +5,7 @@ RUN echo "deb http://ftp.debian.org/debian/ wheezy-backports main" >> /etc/apt/s
apt-get update -qqy && \
apt-get install --no-install-recommends -qqy \
curl build-essential ca-certificates git \
- openssh-server rsync libpam-dev && \
+ openssh-server libpam-dev && \
apt-get autoclean && \
apt-get autoremove && \
rm -rf /var/lib/apt/lists/*
diff --git a/docker/start.sh b/docker/start.sh
index 47a835ad8c..cea6e54e7d 100755
--- a/docker/start.sh
+++ b/docker/start.sh
@@ -21,10 +21,6 @@ fi
service ssh start
-# sync templates
-test -d /data/gogs/templates || cp -ar ./templates /data/gogs/
-rsync -rtv /data/gogs/templates/ ./templates/
-
ln -sf /data/gogs/log ./log
ln -sf /data/gogs/data ./data
ln -sf /data/git /home/git