forked from PaddlePaddle/Paddle
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into…
… dockerreadme
- Loading branch information
Showing
23 changed files
with
505 additions
and
229 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
*.DS_Store | ||
build/ | ||
*.user | ||
.vscode | ||
.idea | ||
.project | ||
.cproject | ||
.pydevproject | ||
Makefile | ||
.test_env/ | ||
third_party/ | ||
*~ | ||
bazel-* | ||
|
||
!build/*.deb |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,20 +3,17 @@ | |
FROM nvidia/cuda:7.5-cudnn5-devel-ubuntu14.04 | ||
MAINTAINER PaddlePaddle Authors <[email protected]> | ||
|
||
ARG DEBIAN_FRONTEND=noninteractive | ||
ARG UBUNTU_MIRROR | ||
RUN /bin/bash -c 'if [[ -n ${UBUNTU_MIRROR} ]]; then sed -i 's#http://archive.ubuntu.com/ubuntu#${UBUNTU_MIRROR}#g' /etc/apt/sources.list; fi' | ||
|
||
# ENV variables | ||
ARG BUILD_WOBOQ | ||
ARG BUILD_AND_INSTALL | ||
ARG WITH_GPU | ||
ARG WITH_AVX | ||
ARG WITH_DOC | ||
ARG WITH_STYLE_CHECK | ||
|
||
ENV BUILD_WOBOQ=${BUILD_WOBOQ:-OFF} | ||
ENV BUILD_AND_INSTALL=${BUILD_AND_INSTALL:-OFF} | ||
ENV WITH_GPU=${WITH_AVX:-OFF} | ||
ENV WITH_AVX=${WITH_AVX:-ON} | ||
ENV WITH_DOC=${WITH_DOC:-OFF} | ||
|
@@ -31,7 +28,7 @@ RUN apt-get update && \ | |
apt-get install -y wget unzip tar xz-utils bzip2 gzip coreutils && \ | ||
apt-get install -y curl sed grep graphviz libjpeg-dev zlib1g-dev && \ | ||
apt-get install -y python-numpy python-matplotlib gcc g++ gfortran && \ | ||
apt-get install -y automake locales clang-format-3.8 && \ | ||
apt-get install -y automake locales clang-format-3.8 swig && \ | ||
apt-get clean -y | ||
|
||
# git credential to skip password typing | ||
|
@@ -51,8 +48,6 @@ RUN curl -sSL https://cmake.org/files/v3.4/cmake-3.4.1.tar.gz | tar -xz && \ | |
cd cmake-3.4.1 && ./bootstrap && make -j `nproc` && make install && \ | ||
cd .. && rm -rf cmake-3.4.1 | ||
|
||
RUN apt-get install -y swig | ||
|
||
VOLUME ["/usr/share/nginx/html/data", "/usr/share/nginx/html/paddle"] | ||
|
||
# Configure OpenSSH server. c.f. https://docs.docker.com/engine/examples/running_ssh_service | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.