Upgrading OS

This commit is contained in:
Yuxiang Zhang 2020-02-23 15:51:15 +08:00 committed by GitHub
parent 8f4c28cc76
commit f6b1cff277
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,13 +1,8 @@
FROM python:3-stretch FROM python:3.7-buster
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/ 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 && \ 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 STATIC_DEPS=true pip3 install pyquery
RUN pip3 install requests pyyaml bandersnatch==3.6.0 RUN pip3 install requests pyyaml bandersnatch==3.6.0