Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
PaddlePaddle
DeepSpeech
提交
6dc1e711
D
DeepSpeech
项目概览
PaddlePaddle
/
DeepSpeech
大约 2 年 前同步成功
通知
210
Star
8425
Fork
1598
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
245
列表
看板
标记
里程碑
合并请求
3
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
D
DeepSpeech
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
245
Issue
245
列表
看板
标记
里程碑
合并请求
3
合并请求
3
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
6dc1e711
编写于
7月 10, 2022
作者:
1
18001307871@163.com
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
gpu dockerfile, fix a little case
上级
d31c9b6e
变更
1
显示空白变更内容
内联
并排
Showing
1 changed file
with
12 addition
and
11 deletion
+12
-11
docker/ubuntu16-gpu/Dockerfile
docker/ubuntu16-gpu/Dockerfile
+12
-11
未找到文件。
docker/ubuntu16-gpu/Dockerfile
浏览文件 @
6dc1e711
...
@@ -31,33 +31,34 @@ RUN echo "set meta-flag on" >> /etc/inputrc && echo "set convert-meta off" >> /e
...
@@ -31,33 +31,34 @@ RUN echo "set meta-flag on" >> /etc/inputrc && echo "set convert-meta off" >> /e
ENV
LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 LANGUAGE=en_US.UTF-8 TZ=Asia/Shanghai
ENV
LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 LANGUAGE=en_US.UTF-8 TZ=Asia/Shanghai
RUN
wget https://www.python.org/ftp/python/3.6.15/Python-3.6.15.tgz
&&
tar
xvf Python-3.6.15.tgz
&&
\
# official download site: https://cdn.npmmirror.com/binaries/python/3.7.13/Python-3.7.13.tgz
cd
Python-3.6.15
&&
./configure
--prefix
=
/home/paddle/python3.6
&&
make
-j8
&&
make
install
&&
\
RUN
wget https://cdn.npmmirror.com/binaries/python/3.7.13/Python-3.7.13.tgz
&&
tar
xvf Python-3.7.13.tgz
&&
\
rm
-rf
../Python-3.6.15 ../Python-3.6.15.tgz
&&
chown
-R
paddle:paddle /home/paddle/python3.6
cd
Python-3.7.13
&&
./configure
--prefix
=
/home/paddle/python3.7
&&
make
-j8
&&
make
install
&&
\
rm
-rf
../Python-3.7.13 ../Python-3.7.13.tgz
&&
chown
-R
paddle:paddle /home/paddle/python3.7
RUN
wget https://mirrors.sjtug.sjtu.edu.cn/gnu/gmp/gmp-6.1.0.tar.bz2
&&
tar
xvf gmp-6.1.0.tar.bz2
&&
\
RUN
cd
/tmp
&&
wget https://mirrors.sjtug.sjtu.edu.cn/gnu/gmp/gmp-6.1.0.tar.bz2
&&
tar
xvf gmp-6.1.0.tar.bz2
&&
\
cd
gmp-6.1.0
&&
./configure
--prefix
=
/usr/local
&&
make
-j8
&&
make
install
&&
\
cd
gmp-6.1.0
&&
./configure
--prefix
=
/usr/local
&&
make
-j8
&&
make
install
&&
\
rm
-rf
../gmp-6.1.0.tar.bz2 ../gmp-6.1.0
&&
cd
..
&&
\
rm
-rf
../gmp-6.1.0.tar.bz2 ../gmp-6.1.0
&&
cd
/tmp
&&
\
wget https://www.mpfr.org/mpfr-3.1.4/mpfr-3.1.4.tar.bz2
&&
tar
xvf mpfr-3.1.4.tar.bz2
&&
cd
mpfr-3.1.4
&&
\
wget https://www.mpfr.org/mpfr-3.1.4/mpfr-3.1.4.tar.bz2
&&
tar
xvf mpfr-3.1.4.tar.bz2
&&
cd
mpfr-3.1.4
&&
\
./configure
--prefix
=
/usr/local
&&
make
-j8
&&
make
install
&&
rm
-rf
../mpfr-3.1.4.tar.bz2 ../mpfr-3.1.4
&&
\
./configure
--prefix
=
/usr/local
&&
make
-j8
&&
make
install
&&
rm
-rf
../mpfr-3.1.4.tar.bz2 ../mpfr-3.1.4
&&
\
cd
..
&&
wget https://mirrors.sjtug.sjtu.edu.cn/gnu/mpc/mpc-1.0.3.tar.gz
&&
tar
xvf mpc-1.0.3.tar.gz
&&
\
cd
/tmp
&&
wget https://mirrors.sjtug.sjtu.edu.cn/gnu/mpc/mpc-1.0.3.tar.gz
&&
tar
xvf mpc-1.0.3.tar.gz
&&
\
cd
mpc-1.0.3
&&
./configure
--prefix
=
/usr/local
&&
make
-j8
&&
make
install
&&
\
cd
mpc-1.0.3
&&
./configure
--prefix
=
/usr/local
&&
make
-j8
&&
make
install
&&
\
rm
-rf
../mpc-1.0.3.tar.gz ../mpc-1.0.3
&&
cd
..
&&
\
rm
-rf
../mpc-1.0.3.tar.gz ../mpc-1.0.3
&&
cd
/tmp
&&
\
wget http://www.mirrorservice.org/sites/sourceware.org/pub/gcc/infrastructure/isl-0.18.tar.bz2
&&
\
wget http://www.mirrorservice.org/sites/sourceware.org/pub/gcc/infrastructure/isl-0.18.tar.bz2
&&
\
tar
xvf isl-0.18.tar.bz2
&&
cd
isl-0.18
&&
./configure
--prefix
=
/usr/local
&&
make
-j8
&&
make
install
\
tar
xvf isl-0.18.tar.bz2
&&
cd
isl-0.18
&&
./configure
--prefix
=
/usr/local
&&
make
-j8
&&
make
install
\
&&
rm
-rf
../isl-0.18.tar.bz2 ../isl-0.18
&&
cd
..
&&
\
&&
rm
-rf
../isl-0.18.tar.bz2 ../isl-0.18
&&
cd
/tmp
&&
\
wget http://mirrors.ustc.edu.cn/gnu/gcc/gcc-8.2.0/gcc-8.2.0.tar.gz
--no-check-certificate
&&
\
wget http://mirrors.ustc.edu.cn/gnu/gcc/gcc-8.2.0/gcc-8.2.0.tar.gz
--no-check-certificate
&&
\
tar
xvf gcc-8.2.0.tar.gz
&&
cd
gcc-8.2.0
&&
UNSET
LIBRARY_PATH
&&
./configure
--prefix
=
/home/paddle/gcc82
\
tar
xvf gcc-8.2.0.tar.gz
&&
cd
gcc-8.2.0
&&
unset
LIBRARY_PATH
&&
./configure
--prefix
=
/home/paddle/gcc82
\
--enable-threads
=
posix
--disable-checking
--disable-multilib
--enable-languages
=
c,c++
--with-gmp
=
/usr/local
\
--enable-threads
=
posix
--disable-checking
--disable-multilib
--enable-languages
=
c,c++
--with-gmp
=
/usr/local
\
--with-mpfr
=
/usr/local
--with-mpc
=
/usr/local
--with-isl
=
/usr/local
&&
make
-j8
&&
make
install
&&
\
--with-mpfr
=
/usr/local
--with-mpc
=
/usr/local
--with-isl
=
/usr/local
&&
make
-j8
&&
make
install
&&
\
rm
-rf
../gcc-8.2.0.tar.gz ../gcc-8.2.0
&&
chown
-R
paddle:paddle /home/paddle/gcc82
rm
-rf
../gcc-8.2.0.tar.gz ../gcc-8.2.0
&&
chown
-R
paddle:paddle /home/paddle/gcc82
WORKDIR
/home/paddle
WORKDIR
/home/paddle
USER
paddle
USER
paddle
ENV
PATH=/home/paddle/python3.
6/bin:/home/paddle/gcc82/bin
\
ENV
PATH=/home/paddle/python3.
7/bin:/home/paddle/gcc82/bin:${PATH}
\
LD_LIBRARY_PATH=/usr/lib/x86_64-linux-gnu:/usr/local/cuda-11.2/targets/x86_64-linux/lib:${LD_LIBRARY_PATH}
LD_LIBRARY_PATH=/usr/lib/x86_64-linux-gnu:/usr/local/cuda-11.2/targets/x86_64-linux/lib:${LD_LIBRARY_PATH}
RUN
mkdir
~/.pip
&&
echo
""
>
~/.pip/pip.conf
&&
echo
"[global]"
>
~/.pip/pip.conf
&&
\
RUN
mkdir
-p
~/.pip
&&
echo
"[global]"
>
~/.pip/pip.conf
&&
\
echo
"index-url=https://mirror.baidu.com/pypi/simple"
>>
~/.pip/pip.conf
&&
\
echo
"index-url=https://mirror.baidu.com/pypi/simple"
>>
~/.pip/pip.conf
&&
\
echo
"trusted-host=mirror.baidu.com"
>>
~/.pip/pip.conf
&&
\
echo
"trusted-host=mirror.baidu.com"
>>
~/.pip/pip.conf
&&
\
python3
-m
pip
install
--upgrade
pip
&&
\
python3
-m
pip
install
--upgrade
pip
&&
\
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录