From 72711bf6ea6cc948eed5a08785ecebacb33e523a Mon Sep 17 00:00:00 2001 From: Yuxiang Zhang Date: Sat, 29 Feb 2020 18:33:22 +0800 Subject: [PATCH] Update Dockerfile --- dockerfiles/ftpsync/Dockerfile | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/dockerfiles/ftpsync/Dockerfile b/dockerfiles/ftpsync/Dockerfile index 73055fd..e331f75 100644 --- a/dockerfiles/ftpsync/Dockerfile +++ b/dockerfiles/ftpsync/Dockerfile @@ -1,14 +1,8 @@ -FROM debian:jessie +FROM debian:stretch MAINTAINER Justin Wong -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 && \ - apt-get install -y git rsync && \ - apt-get install -y -t jessie-backports stunnel4 socat && \ + apt-get install -y git rsync awscli stunnel4 socat && \ apt-get clean all RUN git clone https://ftp-master.debian.org/git/archvsync.git/ /ftpsync/