Commit a837d44d authored by caiyanming's avatar caiyanming

upgrade python 3.6.7 to 3.9.0

Change-Id: I48402675e395f22028f3a942fd6aaf7a348f8cef
parent 534a1e5e
......@@ -4,12 +4,12 @@
# PLEASE DO NOT EDIT IT DIRECTLY.
#
FROM ubuntu:18.04
FROM ubuntu:20.04
MAINTAINER xt
COPY sources.list /etc/apt/sources.list
COPY Python-3.6.7.tar.xz ./python.tar.xz
COPY Python-3.6.7.tar.xz.asc ./python.tar.xz.asc
COPY Python-3.9.0.tar.xz ./python.tar.xz
COPY Python-3.9.0.tar.xz.asc ./python.tar.xz.asc
COPY get-pip.py ./get-pip.py
# ensure local python is preferred over distribution python
......@@ -43,7 +43,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
&& rm -rf /var/lib/apt/lists/*
ENV GPG_KEY 0D96DF4D4110E5C43FBFB17F2D347EA6AA65421D
ENV PYTHON_VERSION 3.6.7
ENV PYTHON_VERSION 3.9.0
RUN set -ex \
\
......@@ -85,7 +85,7 @@ RUN cd /usr/local/bin \
&& ln -s python3-config python-config
# if this is called "PIP_VERSION", pip explodes with "ValueError: invalid truth value '<VERSION>'"
ENV PYTHON_PIP_VERSION 18.0
ENV PYTHON_PIP_VERSION 20.2.3
RUN set -ex; \
python get-pip.py \
......
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEEDZbfTUEQ5cQ/v7F/LTR+pqplQh0FAlvKxm8ACgkQLTR+pqpl
Qh110xAAi4IO3HQPdQAJ+FkKBOjwN7rEdFcDncqIsoD2ZsReei+BXPINMWUrDoux
S12AVbq5eo3rbGJG612uiFHyLjrzIHhHKyb/uYi8XWID3jmOm6cUoKGtBexV6c6R
KY51dRJPNfarEwoBuSPVFfXVdRnwRwiYWrvzwshpAkE9XaBtnRk+ROLtkSTnuJ5r
wYJzxNdvoAd+TUJjnOXhXjDCrtwau5TYn1B4ihVV3oEMztDxLtqFaIO7mSgSxAfe
MT8lrQ3x74npwVrRLS3qDyRuHPST8+L5kjWl1t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ripG8gCPSeMMwCSnbXKsDqUtBLJxn
1EOZXa2eBADF2w1+xjy0Ny7TodHpGLmrejiYiohzhjPcslSWH+cis7iBxCe5uug1
GOS8A3T6bhUcpNXKqFAMxi+0ew4zBy410P48qQFFxoJEsM6dGTw=
=2Ua7
-----END PGP SIGNATURE-----
# deb cdrom:[Ubuntu 16.04 LTS _Xenial Xerus_ - Release amd64 (20160420.1)]/ bionic main restricted
deb-src http://archive.ubuntu.com/ubuntu bionic main restricted #Added by software-properties
deb http://mirrors.aliyun.com/ubuntu/ bionic main restricted
deb-src http://mirrors.aliyun.com/ubuntu/ bionic main restricted multiverse universe #Added by software-properties
deb http://mirrors.aliyun.com/ubuntu/ bionic-updates main restricted
deb-src http://mirrors.aliyun.com/ubuntu/ bionic-updates main restricted multiverse universe #Added by software-properties
deb http://mirrors.aliyun.com/ubuntu/ bionic universe
deb http://mirrors.aliyun.com/ubuntu/ bionic-updates universe
deb http://mirrors.aliyun.com/ubuntu/ bionic multiverse
deb http://mirrors.aliyun.com/ubuntu/ bionic-updates multiverse
deb http://mirrors.aliyun.com/ubuntu/ bionic-backports main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic-backports main restricted universe multiverse #Added by software-properties
deb http://archive.canonical.com/ubuntu bionic partner
deb-src http://archive.canonical.com/ubuntu bionic partner
deb http://mirrors.aliyun.com/ubuntu/ bionic-security main restricted
deb-src http://mirrors.aliyun.com/ubuntu/ bionic-security main restricted multiverse universe #Added by software-properties
deb http://mirrors.aliyun.com/ubuntu/ bionic-security universe
deb http://mirrors.aliyun.com/ubuntu/ bionic-security multiverse
# deb cdrom:[Ubuntu 16.04 LTS _Xenial Xerus_ - Release amd64 (20160420.1)]/ focal main restricted
deb-src http://archive.ubuntu.com/ubuntu focal main restricted #Added by software-properties
deb http://mirrors.aliyun.com/ubuntu/ focal main restricted
deb-src http://mirrors.aliyun.com/ubuntu/ focal main restricted multiverse universe #Added by software-properties
deb http://mirrors.aliyun.com/ubuntu/ focal-updates main restricted
deb-src http://mirrors.aliyun.com/ubuntu/ focal-updates main restricted multiverse universe #Added by software-properties
deb http://mirrors.aliyun.com/ubuntu/ focal universe
deb http://mirrors.aliyun.com/ubuntu/ focal-updates universe
deb http://mirrors.aliyun.com/ubuntu/ focal multiverse
deb http://mirrors.aliyun.com/ubuntu/ focal-updates multiverse
deb http://mirrors.aliyun.com/ubuntu/ focal-backports main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ focal-backports main restricted universe multiverse #Added by software-properties
deb http://archive.canonical.com/ubuntu focal partner
deb-src http://archive.canonical.com/ubuntu focal partner
deb http://mirrors.aliyun.com/ubuntu/ focal-security main restricted
deb-src http://mirrors.aliyun.com/ubuntu/ focal-security main restricted multiverse universe #Added by software-properties
deb http://mirrors.aliyun.com/ubuntu/ focal-security universe
deb http://mirrors.aliyun.com/ubuntu/ focal-security multiverse
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment