提交 f57faf3f authored 作者: zw.wang's avatar zw.wang

python3.6-ubuntu18.04

上级 f9c785ae
FROM ubuntu:16.04
FROM ubuntu:18.04
MAINTAINER wangzhiwen@163.com
......@@ -10,11 +10,8 @@ RUN sed -i s@/archive.ubuntu.com/@/mirrors.aliyun.com/@g /etc/apt/sources.list \
&& apt-get install -y --no-install-recommends apt-utils \
&& apt-get install gcc g++ gdb -y
RUN apt-get install software-properties-common -y \
&& add-apt-repository ppa:deadsnakes/ppa -y \
&& apt-get update \
&& apt-get install python3.6 python3-pip -y \
&& ln -sf /usr/bin/python3.6 /usr/bin/python \
RUN apt-get install python3 python3-pip -y \
&& ln -sf /usr/bin/python3 /usr/bin/python \
&& ln -sf /usr/bin/pip3 /usr/bin/pip \
&& mkdir -p /root/.pip \
&& echo '[global]\nindex_url = https://pypi.doubanio.com/simple' > /root/.pip/pip.conf \
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论