Commit 7aac6ba5 authored by Tru  HUYNH's avatar Tru HUYNH Committed by GitHub
Browse files

initial version

parent ff6f93a6
FROM centos:centos7
# uncomment for local repository
#RUN /bin/rm /etc/yum.repos.d/CentOS-*.repo
#ADD /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 /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
ADD /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 /tmp/tf-c7.ans
ADD /tmp/
RUN cat /tmp/ | scl enable devtoolset-3 bash
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment