Browse Source

remove rsync

for-closed-social
Unknwon 9 years ago
parent
commit
232c22208c
2 changed files with 1 additions and 5 deletions
  1. +1
    -1
      Dockerfile
  2. +0
    -4
      docker/start.sh

+ 1
- 1
Dockerfile 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 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/*

+ 0
- 4
docker/start.sh View File

@ -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

Loading…
Cancel
Save