1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-04 08:17:24 -05:00

remove rsync

This commit is contained in:
Unknwon 2015-09-06 18:53:59 -04:00
parent 0806725ca5
commit 232c22208c
2 changed files with 1 additions and 5 deletions

View File

@ -5,7 +5,7 @@ RUN echo "deb http://ftp.debian.org/debian/ wheezy-backports main" >> /etc/apt/s
apt-get update -qqy && \ apt-get update -qqy && \
apt-get install --no-install-recommends -qqy \ apt-get install --no-install-recommends -qqy \
curl build-essential ca-certificates git \ curl build-essential ca-certificates git \
openssh-server rsync libpam-dev && \ openssh-server libpam-dev && \
apt-get autoclean && \ apt-get autoclean && \
apt-get autoremove && \ apt-get autoremove && \
rm -rf /var/lib/apt/lists/* rm -rf /var/lib/apt/lists/*

View File

@ -21,10 +21,6 @@ fi
service ssh start 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/log ./log
ln -sf /data/gogs/data ./data ln -sf /data/gogs/data ./data
ln -sf /data/git /home/git ln -sf /data/git /home/git