Dockerfile.devel 1.4 KB
Newer Older
1 2 3
FROM centos:7.3.1611
RUN yum -y install wget >/dev/null \
    && yum -y install gcc gcc-c++ make glibc-static which >/dev/null \
G
gongweibao 已提交
4 5 6
    && yum -y install git openssl-devel curl-devel bzip2-devel python-devel

RUN wget https://cmake.org/files/v3.2/cmake-3.2.0-Linux-x86_64.tar.gz >/dev/null \
7 8 9
    && tar xzf cmake-3.2.0-Linux-x86_64.tar.gz \
    && mv cmake-3.2.0-Linux-x86_64 /usr/local/cmake3.2.0 \
    && echo 'export PATH=/usr/local/cmake3.2.0/bin:$PATH' >> /root/.bashrc \
G
gongweibao 已提交
10 11 12
    && rm cmake-3.2.0-Linux-x86_64.tar.gz 

RUN wget https://dl.google.com/go/go1.14.linux-amd64.tar.gz >/dev/null \
13 14 15 16
    && tar xzf go1.14.linux-amd64.tar.gz \
    && mv go /usr/local/go \
    && echo 'export GOROOT=/usr/local/go' >> /root/.bashrc \
    && echo 'export PATH=/usr/local/go/bin:$PATH' >> /root/.bashrc \
G
gongweibao 已提交
17 18 19
    && rm go1.14.linux-amd64.tar.gz 

RUN yum -y install python-devel sqlite-devel >/dev/null \
20 21 22
    && curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py >/dev/null \
    && python get-pip.py >/dev/null \
    && pip install google protobuf setuptools wheel flask >/dev/null \
G
gongweibao 已提交
23 24 25
    && rm get-pip.py 

RUN yum install -y python3 python3-devel \
B
barrierye 已提交
26
    && pip3 install google protobuf setuptools wheel flask \
M
MRXLT 已提交
27
    && yum -y install epel-release && yum -y install patchelf libXext libSM libXrender\
28 29 30
    && yum clean all \
    && localedef -c -i en_US -f UTF-8 en_US.UTF-8 \
    && echo "export LANG=en_US.utf8" >> /root/.bashrc