Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Quang tru HUYNH
docker-centos6-tensorflow
Commits
3a66675a
Commit
3a66675a
authored
Mar 22, 2017
by
Quang tru HUYNH
Committed by
GitHub
Mar 22, 2017
Browse files
initial version
parent
4aef17a7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Dockerfile
0 → 100644
View file @
3a66675a
FROM
centos:centos6
MAINTAINER
Tru Huynh <tru@pasteur.fr>
# uncomment for local mirror:
#RUN /bin/rm /etc/yum.repos.d/CentOS-*.repo
#ADD https://gitlab.pasteur.fr/tru/centos-pasteur/raw/master/c6.repo /etc/yum.repos.d/local.repo
RUN
yum
-y
update
RUN
yum
-y
install
wget
tar gzip
\
perl
\
which findutils zip unzip zlib-devel
\
java-1.8.0-openjdk-devel
\
git
RUN
yum
-y
install
centos-release-scl-rh
# uncomment for local mirror:
#RUN /bin/rm /etc/yum.repos.d/CentOS-*.repo
#ADD https://gitlab.pasteur.fr/tru/centos-pasteur/raw/master/c6-scl-rh.repo /etc/yum.repos.d/scl-rh.repo
RUN
yum
-y
install
devtoolset-3-gcc devtoolset-3-gcc-c++ devtoolset-3-binutils
\
python27-numpy python27-python-devel python27-python-wheel python27-python-pip
RUN
yum
-y
install
https://people.centos.org/tru/bazel-centos6/bazel-0.4.5-1.c6.x86_64.rpm
ADD
https://github.com/tensorflow/tensorflow/archive/v1.0.1.tar.gz /tmp/tensorflow-1.0.1.tar.gz
RUN
mkdir
/build
&&
tar
-C
build
-xzf
/tmp/tensorflow-1.0.1.tar.gz
&&
/bin/rm /tmp/tensorflow-1.0.1.tar.gz
ADD
https://raw.githubusercontent.com/truatpasteurdotfr/docker-centos6-tensorflow/master/tf-c6.ans /tmp/tf-c6.ans
ADD
https://raw.githubusercontent.com/truatpasteurdotfr/docker-centos6-tensorflow/master/runme.sh /tmp/runme.sh
RUN
cat
/tmp/runme.sh | scl
enable
devtoolset-3 python27 bash
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment