Skip to content
Snippets Groups Projects
Commit 7aac6ba5 authored by Quang tru HUYNH's avatar Quang tru HUYNH Committed by GitHub
Browse files

initial version

parent ff6f93a6
Branches
No related tags found
No related merge requests found
FROM centos:centos7
MAINTAINER Tru Huynh <tru@pasteur.fr>
# uncomment for local repository
#RUN /bin/rm /etc/yum.repos.d/CentOS-*.repo
#ADD https://gitlab.pasteur.fr/tru/centos-pasteur/raw/master/c7.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 \
numpy python-devel
RUN yum -y install centos-release-scl-rh
# uncomment for local repository
#RUN /bin/rm /etc/yum.repos.d/CentOS-*.repo
#ADD https://gitlab.pasteur.fr/tru/centos-pasteur/raw/master/c7-scl-rh.repo /etc/yum.repos.d/scl-rh.repo
RUN yum -y install devtoolset-3-gcc devtoolset-3-gcc-c++ devtoolset-3-binutils
RUN yum -y install epel-release
RUN yum -y install python-wheel python-pip
RUN yum -y install https://people.centos.org/tru/bazel-centos7/bazel-0.4.5-1.el7.centos.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-centos7-tensorflow/master/tf-c7.ans /tmp/tf-c7.ans
ADD https://raw.githubusercontent.com/truatpasteurdotfr/docker-centos7-tensorflow/master/runme.sh /tmp/runme.sh
RUN cat /tmp/runme.sh | scl enable devtoolset-3 bash
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment