Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
PaddlePaddle
Serving
提交
d3e8fedf
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看板
提交
d3e8fedf
编写于
6月 04, 2020
作者:
M
MRXLT
提交者:
GitHub
6月 04, 2020
浏览文件
操作
浏览文件
下载
差异文件
Merge pull request #643 from barrierye/fix-chinese-encode
update dockfile to support chinese encode in lac example
上级
4128c869
7760b7a4
变更
6
隐藏空白更改
内联
并排
Showing
6 changed file
with
14 addition
and
5 deletion
+14
-5
tools/Dockerfile
tools/Dockerfile
+3
-1
tools/Dockerfile.centos6.devel
tools/Dockerfile.centos6.devel
+3
-1
tools/Dockerfile.centos6.gpu.devel
tools/Dockerfile.centos6.gpu.devel
+2
-1
tools/Dockerfile.devel
tools/Dockerfile.devel
+3
-1
tools/Dockerfile.gpu
tools/Dockerfile.gpu
+1
-0
tools/Dockerfile.gpu.devel
tools/Dockerfile.gpu.devel
+2
-1
未找到文件。
tools/Dockerfile
浏览文件 @
d3e8fedf
...
@@ -9,4 +9,6 @@ RUN yum -y install wget && \
...
@@ -9,4 +9,6 @@ RUN yum -y install wget && \
yum
-y
install
python3 python3-devel
&&
\
yum
-y
install
python3 python3-devel
&&
\
yum clean all
&&
\
yum clean all
&&
\
curl https://bootstrap.pypa.io/get-pip.py
-o
get-pip.py
&&
\
curl https://bootstrap.pypa.io/get-pip.py
-o
get-pip.py
&&
\
python get-pip.py
&&
rm
get-pip.py
python get-pip.py
&&
rm
get-pip.py
&&
\
localedef
-c
-i
en_US
-f
UTF-8 en_US.UTF-8
&&
\
echo
"export LANG=en_US.utf8"
>>
/root/.bashrc
tools/Dockerfile.centos6.devel
浏览文件 @
d3e8fedf
...
@@ -44,4 +44,6 @@ RUN yum -y install wget && \
...
@@ -44,4 +44,6 @@ RUN yum -y install wget && \
cd .. && rm -rf Python-3.6.8* && \
cd .. && rm -rf Python-3.6.8* && \
pip3 install google protobuf setuptools wheel flask numpy==1.16.4 && \
pip3 install google protobuf setuptools wheel flask numpy==1.16.4 && \
yum -y install epel-release && yum -y install patchelf libXext libSM libXrender && \
yum -y install epel-release && yum -y install patchelf libXext libSM libXrender && \
yum clean all
yum clean all && \
localedef -c -i en_US -f UTF-8 en_US.UTF-8 && \
echo "export LANG=en_US.utf8" >> /root/.bashrc
tools/Dockerfile.centos6.gpu.devel
浏览文件 @
d3e8fedf
...
@@ -44,4 +44,5 @@ RUN yum -y install wget && \
...
@@ -44,4 +44,5 @@ RUN yum -y install wget && \
cd .. && rm -rf Python-3.6.8* && \
cd .. && rm -rf Python-3.6.8* && \
pip3 install google protobuf setuptools wheel flask numpy==1.16.4 && \
pip3 install google protobuf setuptools wheel flask numpy==1.16.4 && \
yum -y install epel-release && yum -y install patchelf libXext libSM libXrender && \
yum -y install epel-release && yum -y install patchelf libXext libSM libXrender && \
yum clean all
yum clean all && \
echo "export LANG=en_US.utf8" >> /root/.bashrc
tools/Dockerfile.devel
浏览文件 @
d3e8fedf
...
@@ -21,4 +21,6 @@ RUN yum -y install wget >/dev/null \
...
@@ -21,4 +21,6 @@ RUN yum -y install wget >/dev/null \
&& yum install -y python3 python3-devel \
&& yum install -y python3 python3-devel \
&& pip3 install google protobuf setuptools wheel flask \
&& pip3 install google protobuf setuptools wheel flask \
&& yum -y install epel-release && yum -y install patchelf libXext libSM libXrender\
&& yum -y install epel-release && yum -y install patchelf libXext libSM libXrender\
&& yum clean all
&& yum clean all \
&& localedef -c -i en_US -f UTF-8 en_US.UTF-8 \
&& echo "export LANG=en_US.utf8" >> /root/.bashrc
tools/Dockerfile.gpu
浏览文件 @
d3e8fedf
...
@@ -15,6 +15,7 @@ RUN yum -y install wget && \
...
@@ -15,6 +15,7 @@ RUN yum -y install wget && \
echo 'export LD_LIBRARY_PATH=/usr/local/cuda/lib64:$LD_LIBRARY_PATH' >> /root/.bashrc && \
echo 'export LD_LIBRARY_PATH=/usr/local/cuda/lib64:$LD_LIBRARY_PATH' >> /root/.bashrc && \
ln -s /usr/local/cuda-9.0/targets/x86_64-linux/lib/libcudnn.so.7 /usr/local/cuda-9.0/targets/x86_64-linux/lib/libcudnn.so && \
ln -s /usr/local/cuda-9.0/targets/x86_64-linux/lib/libcudnn.so.7 /usr/local/cuda-9.0/targets/x86_64-linux/lib/libcudnn.so && \
echo 'export LD_LIBRARY_PATH=/usr/local/cuda-9.0/targets/x86_64-linux/lib:$LD_LIBRARY_PATH' >> /root/.bashrc && \
echo 'export LD_LIBRARY_PATH=/usr/local/cuda-9.0/targets/x86_64-linux/lib:$LD_LIBRARY_PATH' >> /root/.bashrc && \
echo "export LANG=en_US.utf8" >> /root/.bashrc && \
mkdir -p /usr/local/cuda/extras
mkdir -p /usr/local/cuda/extras
COPY --from=builder /usr/local/cuda/extras/CUPTI /usr/local/cuda/extras/CUPTI
COPY --from=builder /usr/local/cuda/extras/CUPTI /usr/local/cuda/extras/CUPTI
tools/Dockerfile.gpu.devel
浏览文件 @
d3e8fedf
...
@@ -22,4 +22,5 @@ RUN yum -y install wget >/dev/null \
...
@@ -22,4 +22,5 @@ RUN yum -y install wget >/dev/null \
&& yum install -y python3 python3-devel \
&& yum install -y python3 python3-devel \
&& pip3 install google protobuf setuptools wheel flask \
&& pip3 install google protobuf setuptools wheel flask \
&& yum -y install epel-release && yum -y install patchelf libXext libSM libXrender\
&& yum -y install epel-release && yum -y install patchelf libXext libSM libXrender\
&& yum clean all
&& yum clean all \
&& echo "export LANG=en_US.utf8" >> /root/.bashrc
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录