Created
April 19, 2017 13:42
-
-
Save autosquid/57a71ffba436c9f1d869f1a280c1e80a to your computer and use it in GitHub Desktop.
sources.list for docker in China
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM ubuntu:16.04 | |
MAINTAINER autosuqid <[email protected]> | |
RUN echo "deb http://ftp.sjtu.edu.cn/ubuntu/ trusty main restricted universe multiverse" > /etc/apt/sources.list && \ | |
echo "deb http://ftp.sjtu.edu.cn/ubuntu/ trusty-security main restricted universe multiverse" >> /etc/apt/sources.list && \ | |
echo "deb http://ftp.sjtu.edu.cn/ubuntu/ trusty-updates main restricted universe multiverse" >> /etc/apt/sources.list && \ | |
echo "deb http://ftp.sjtu.edu.cn/ubuntu/ trusty-proposed main restricted universe multiverse" >> /etc/apt/sources.list && \ | |
echo "deb http://ftp.sjtu.edu.cn/ubuntu/ trusty-backports main restricted universe multiverse" >> /etc/apt/sources.list && \ | |
echo "deb-src http://ftp.sjtu.edu.cn/ubuntu/ trusty main restricted universe multiverse" >> /etc/apt/sources.list && \ | |
echo "deb-src http://ftp.sjtu.edu.cn/ubuntu/ trusty-security main restricted universe multiverse" >> /etc/apt/sources.list && \ | |
echo "deb-src http://ftp.sjtu.edu.cn/ubuntu/ trusty-updates main restricted universe multiverse" >> /etc/apt/sources.list && \ | |
echo "deb-src http://ftp.sjtu.edu.cn/ubuntu/ trusty-proposed main restricted universe multiverse" >> /etc/apt/sources.list && \ | |
echo "deb-src http://ftp.sjtu.edu.cn/ubuntu/ trusty-backports main restricted universe multiverse" >> /etc/apt/sources.list && \ | |
apt-get -qqy update | |
RUN apt-get update && apt-get install -y \ | |
build-essential \ | |
git \ | |
libopenblas-dev \ | |
libopencv-dev \ | |
python-numpy \ | |
wget \ | |
unzip | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment