mirror of
https://github.com/tuna/tunasync-scripts.git
synced 2025-04-20 04:12:42 +00:00
Update Dockerfile
This commit is contained in:
parent
846315e8eb
commit
72711bf6ea
@ -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/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user