本文主要是介绍在Ubuntu的基础上打入miniconda,最后打出xdock:miniconda,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
文章目录
- ubuntu:ok
- miniconda:v1
- xdock:miniconda
ubuntu:ok
首先打个Ubuntu:ok
,在Ubuntu的基础上实现pip换源,apt换源,安装一些基础软件
szw@huatuo:~/py36$ cat ubuntu.Dockerfile
FROM ubuntu:16.04MAINTAINER qichun.tang@xtalpi.comADD sources.list /etc/apt/RUN apt-get update \&& apt-get install gcc g++ gdb make python-software-properties software-properties-common -y\&& mkdir /root/.pipADD pip.conf /root/.pip
szw@huatuo:~/py36$ cat sources.list
deb http://mirrors.aliyun.com/ubuntu/ xenial main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ xenial-updates main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ xenial-backports main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ xenial-security main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ xenial-proposed main restricted universe multiverse
szw@huatuo:~/py36$ cat pip.conf
[global]
index-url = https://pypi.tuna.tsinghua.edu.cn/simple
miniconda:v1
打好基础Ubuntu后,在其基础上把miniconda打进去。并且实现conda换源。
miniconda.Docker
FROM ubuntu:ok
MAINTAINER qichun.tang@xtalpi.comCOPY Miniconda3-latest-L
这篇关于在Ubuntu的基础上打入miniconda,最后打出xdock:miniconda的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!