From f6b1cff2776c72fdbd1f6aead9448e67f03ff31a Mon Sep 17 00:00:00 2001 From: Yuxiang Zhang Date: Sun, 23 Feb 2020 15:51:15 +0800 Subject: [PATCH] Upgrading OS --- Dockerfile | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/Dockerfile b/Dockerfile index 3b9b85c..045df2d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,13 +1,8 @@ -FROM python:3-stretch +FROM python:3.7-buster MAINTAINER Justin Wong -RUN echo "deb http://mirrors.tuna.tsinghua.edu.cn/debian/ stretch main contrib non-free" > /etc/apt/sources.list && \ - echo "deb http://mirrors.tuna.tsinghua.edu.cn/debian/ stretch-backports main contrib non-free" >> /etc/apt/sources.list && \ - echo "deb http://mirrors.tuna.tsinghua.edu.cn/debian/ stretch-updates main contrib non-free" >> /etc/apt/sources.list && \ - echo "deb http://mirrors.tuna.tsinghua.edu.cn/debian-security/ stretch/updates main contrib non-free" >> /etc/apt/sources.list - RUN apt-get update && \ - apt-get install -y wget curl rsync lftp git jq python-dev python-pip yum-utils createrepo aria2 awscli ack + apt-get install -y wget curl rsync lftp git jq python-dev python-pip yum-utils createrepo aria2 awscli ack composer php-curl php-zip RUN STATIC_DEPS=true pip3 install pyquery RUN pip3 install requests pyyaml bandersnatch==3.6.0