Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Crayon鑫
Paddle
提交
392dc967
P
Paddle
项目概览
Crayon鑫
/
Paddle
与 Fork 源项目一致
Fork自
PaddlePaddle / Paddle
通知
1
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
1
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
P
Paddle
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
1
Issue
1
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
392dc967
编写于
12月 09, 2016
作者:
W
wangkuiyi
提交者:
GitHub
12月 09, 2016
浏览文件
操作
浏览文件
下载
差异文件
Merge pull request
#761
from PaddlePaddle/install-bazel
Add bazel installation to the Dockerfiles
上级
0cdfa8cd
6772acab
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
26 addition
and
0 deletion
+26
-0
paddle/scripts/docker/Dockerfile
paddle/scripts/docker/Dockerfile
+13
-0
paddle/scripts/docker/Dockerfile.gpu
paddle/scripts/docker/Dockerfile.gpu
+13
-0
未找到文件。
paddle/scripts/docker/Dockerfile
浏览文件 @
392dc967
FROM
ubuntu:14.04
MAINTAINER
PaddlePaddle Authors <paddle-dev@baidu.com>
ARG
DEBIAN_FRONTEND=noninteractive
RUN
apt-get update
\
&&
apt-get
install
-y
cmake libprotobuf-dev protobuf-compiler git
\
libgoogle-glog-dev libgflags-dev libatlas-dev libatlas3-base g++ m4 python-pip
\
...
...
@@ -12,6 +13,18 @@ RUN apt-get update \
RUN
pip
install
-U
BeautifulSoup docopt PyYAML pillow
\
sphinx sphinx_rtd_theme breathe recommonmark
# cmake tends to hide and blur the dependencies between code modules, as
# noted here https://github.com/PaddlePaddle/Paddle/issues/763. We are
# thinking about using Bazel to fix this problem, e.g.,
# https://github.com/PaddlePaddle/Paddle/issues/681#issuecomment-263996102. To
# start the trail of fixing, we add Bazel to our Dockerfiles.
RUN
apt-get update
&&
apt-get
install
-y
curl software-properties-common
\
&&
add-apt-repository ppa:webupd8team/java
\
&&
echo
"oracle-java8-installer shared/accepted-oracle-license-v1-1 select true"
| debconf-set-selections
\
&&
echo
"deb [arch=amd64] http://storage.googleapis.com/bazel-apt stable jdk1.8"
|
tee
/etc/apt/sources.list.d/bazel.list
\
&&
curl https://bazel.build/bazel-release.pub.gpg | apt-key add -
\
&&
apt-get update
&&
apt-get
install
-y
oracle-java8-installer bazel
ARG
WITH_AVX
ARG
WITH_DOC
ARG
WITH_SWIG_PY
...
...
paddle/scripts/docker/Dockerfile.gpu
浏览文件 @
392dc967
FROM nvidia/cuda:7.5-cudnn5-devel-ubuntu14.04
MAINTAINER PaddlePaddle Authors <paddle-dev@baidu.com>
ARG DEBIAN_FRONTEND=noninteractive
RUN apt-get update \
&& apt-get install -y cmake libprotobuf-dev protobuf-compiler git \
libgoogle-glog-dev libgflags-dev libatlas-dev libatlas3-base g++ m4 python-pip \
...
...
@@ -12,6 +13,18 @@ RUN apt-get update \
RUN pip install -U BeautifulSoup docopt PyYAML pillow \
sphinx sphinx_rtd_theme breathe recommonmark
# cmake tends to hide and blur the dependencies between code modules, as
# noted here https://github.com/PaddlePaddle/Paddle/issues/763. We are
# thinking about using Bazel to fix this problem, e.g.,
# https://github.com/PaddlePaddle/Paddle/issues/681#issuecomment-263996102. To
# start the trail of fixing, we add Bazel to our Dockerfiles.
RUN apt-get update && apt-get install -y curl software-properties-common \
&& add-apt-repository ppa:webupd8team/java \
&& echo "oracle-java8-installer shared/accepted-oracle-license-v1-1 select true" | debconf-set-selections \
&& echo "deb [arch=amd64] http://storage.googleapis.com/bazel-apt stable jdk1.8" | tee /etc/apt/sources.list.d/bazel.list \
&& curl https://bazel.build/bazel-release.pub.gpg | apt-key add - \
&& apt-get update && apt-get install -y oracle-java8-installer bazel
ARG WITH_AVX
ARG WITH_DOC
ARG WITH_SWIG_PY
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录