Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
PaddlePaddle
Serving
提交
0fd5afce
S
Serving
项目概览
PaddlePaddle
/
Serving
大约 1 年 前同步成功
通知
186
Star
833
Fork
253
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
105
列表
看板
标记
里程碑
合并请求
10
Wiki
2
Wiki
分析
仓库
DevOps
项目成员
Pages
S
Serving
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
105
Issue
105
列表
看板
标记
里程碑
合并请求
10
合并请求
10
Pages
分析
分析
仓库分析
DevOps
Wiki
2
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
0fd5afce
编写于
4月 28, 2020
作者:
B
barrierye
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'develop' of
https://github.com/PaddlePaddle/Serving
into develop
上级
d6024680
e9cedbb5
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
94 addition
and
0 deletion
+94
-0
tools/Dockerfile.centos6.devel
tools/Dockerfile.centos6.devel
+47
-0
tools/Dockerfile.centos6.gpu.devel
tools/Dockerfile.centos6.gpu.devel
+47
-0
未找到文件。
tools/Dockerfile.centos6.devel
0 → 100644
浏览文件 @
0fd5afce
FROM centos:6
RUN yum -y install wget && \
wget http://people.centos.org/tru/devtools-2/devtools-2.repo -O /etc/yum.repos.d/devtoolset-2.repo && \
yum -y install devtoolset-2-gcc devtoolset-2-gcc-c++ devtoolset-2-binutils && \
source /opt/rh/devtoolset-2/enable && \
echo 'source /opt/rh/devtoolset-2/enable' >> /root/.bashrc && \
yum -y install git openssl-devel curl-devel bzip2-devel && \
wget https://cmake.org/files/v3.2/cmake-3.2.0-Linux-x86_64.tar.gz && \
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 && \
rm cmake-3.2.0-Linux-x86_64.tar.gz && \
wget https://dl.google.com/go/go1.14.linux-amd64.tar.gz && \
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 && \
rm go1.14.linux-amd64.tar.gz && \
yum -y install python-devel sqlite-devel && \
wget https://www.python.org/ftp/python/2.7.5/Python-2.7.5.tgz && \
tar -zxf Python-2.7.5.tgz && \
cd Python-2.7.5 && \
./configure --prefix=/usr/local/python2.7 --enable-shared && \
make all && make install && \
make clean && \
echo 'export PATH=/usr/local/python2.7/bin:$PATH' >> /root/.bashrc && \
echo 'export LD_LIBRARY_PATH=/usr/local/python2.7/lib:$LD_LIBRARY_PATH' >> /root/.bashrc && \
cd .. && rm -rf Python-2.7.5* && \
source /root/.bashrc && \
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py && \
python get-pip.py && \
rm get-pip.py && \
pip install google protobuf setuptools wheel flask numpy==1.16.4 && \
wget https://www.python.org/ftp/python/3.6.8/Python-3.6.8.tgz && \
tar -zxf Python-3.6.8.tgz && \
cd Python-3.6.8 && \
./configure --prefix=/usr/local/python3.6 --enable-shared && \
make all && make install && \
make clean && \
echo 'export PATH=/usr/local/python3.6/bin:$PATH' >> /root/.bashrc && \
echo 'export LD_LIBRARY_PATH=/usr/local/python3.6/lib:$LD_LIBRARY_PATH' >> /root/.bashrc && \
source /root/.bashrc && \
cd .. && rm -rf Python-3.6.8* && \
pip3 install google protobuf setuptools wheel flask numpy==1.16.4 && \
yum -y install epel-release && yum -y install patchelf && \
yum clean all
tools/Dockerfile.centos6.gpu.devel
0 → 100644
浏览文件 @
0fd5afce
FROM nvidia/cuda:9.0-cudnn7-devel-centos6
RUN yum -y install wget && \
wget http://people.centos.org/tru/devtools-2/devtools-2.repo -O /etc/yum.repos.d/devtoolset-2.repo && \
yum -y install devtoolset-2-gcc devtoolset-2-gcc-c++ devtoolset-2-binutils && \
source /opt/rh/devtoolset-2/enable && \
echo 'source /opt/rh/devtoolset-2/enable' >> /root/.bashrc && \
yum -y install git openssl-devel curl-devel bzip2-devel && \
wget https://cmake.org/files/v3.2/cmake-3.2.0-Linux-x86_64.tar.gz && \
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 && \
rm cmake-3.2.0-Linux-x86_64.tar.gz && \
wget https://dl.google.com/go/go1.14.linux-amd64.tar.gz && \
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 && \
rm go1.14.linux-amd64.tar.gz && \
yum -y install python-devel sqlite-devel && \
wget https://www.python.org/ftp/python/2.7.5/Python-2.7.5.tgz && \
tar -zxf Python-2.7.5.tgz && \
cd Python-2.7.5 && \
./configure --prefix=/usr/local/python2.7 --enable-shared && \
make all && make install && \
make clean && \
echo 'export PATH=/usr/local/python2.7/bin:$PATH' >> /root/.bashrc && \
echo 'export LD_LIBRARY_PATH=/usr/local/python2.7/lib:$LD_LIBRARY_PATH' >> /root/.bashrc && \
cd .. && rm -rf Python-2.7.5* && \
source /root/.bashrc && \
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py && \
python get-pip.py && \
rm get-pip.py && \
pip install google protobuf setuptools wheel flask numpy==1.16.4 && \
wget https://www.python.org/ftp/python/3.6.8/Python-3.6.8.tgz && \
tar -zxf Python-3.6.8.tgz && \
cd Python-3.6.8 && \
./configure --prefix=/usr/local/python3.6 --enable-shared && \
make all && make install && \
make clean && \
echo 'export PATH=/usr/local/python3.6/bin:$PATH' >> /root/.bashrc && \
echo 'export LD_LIBRARY_PATH=/usr/local/python3.6/lib:$LD_LIBRARY_PATH' >> /root/.bashrc && \
source /root/.bashrc && \
cd .. && rm -rf Python-3.6.8* && \
pip3 install google protobuf setuptools wheel flask numpy==1.16.4 && \
yum -y install epel-release && yum -y install patchelf && \
yum clean all
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录