Update Dockerfile

This commit is contained in:
Yuxiang Zhang 2020-02-29 18:33:22 +08:00 committed by GitHub
parent 846315e8eb
commit 72711bf6ea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,14 +1,8 @@
FROM debian:jessie FROM debian:stretch
MAINTAINER Justin Wong <yuzhi.wang@tuna.tsinghua.edu.cn> MAINTAINER Justin Wong <yuzhi.wang@tuna.tsinghua.edu.cn>
RUN echo "deb http://mirrors.tuna.tsinghua.edu.cn/debian/ jessie main contrib non-free" > /etc/apt/sources.list && \
echo "deb http://mirrors.tuna.tsinghua.edu.cn/debian/ jessie-backports main contrib non-free" >> /etc/apt/sources.list && \
echo "deb http://mirrors.tuna.tsinghua.edu.cn/debian/ jessie-updates main contrib non-free" >> /etc/apt/sources.list && \
echo "deb http://mirrors.tuna.tsinghua.edu.cn/debian-security/ jessie/updates main contrib non-free" >> /etc/apt/sources.list
RUN apt-get update && \ RUN apt-get update && \
apt-get install -y git rsync && \ apt-get install -y git rsync awscli stunnel4 socat && \
apt-get install -y -t jessie-backports stunnel4 socat && \
apt-get clean all apt-get clean all
RUN git clone https://ftp-master.debian.org/git/archvsync.git/ /ftpsync/ RUN git clone https://ftp-master.debian.org/git/archvsync.git/ /ftpsync/