Skip to content

Instantly share code, notes, and snippets.

View 9kl's full-sized avatar

Feng 9kl

View GitHub Profile
# docker.hshl.ltd/python27
# sudo docker run -it docker.hshl.ltd/python27 python
FROM ubuntu:16.04
MAINTAINER hshl.ltd (chinafengheping@outlook.com)
# 更改ubuntu的源为阿里云的源
RUN echo "deb http://mirrors.aliyun.com/ubuntu/ xenial main restricted universe multiverse" > /etc/apt/sources.list
RUN echo "deb http://mirrors.aliyun.com/ubuntu/ xenial-security main restricted universe multiverse" >> /etc/apt/sources.list
RUN echo "deb http://mirrors.aliyun.com/ubuntu/ xenial-updates main restricted universe multiverse" >> /etc/apt/sources.list