Skip to content

Latest commit

 

History

History
 
 

manylinux2014_docker_images

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Manylinux2014 Docker Images

manylinux2014 build environment for TensorFlow packages.

Maintainer: @sub-mod (Red Hat)


Run the below commands to create a manylinux2014 build environment.

docker build -t build/manylinux2014 -f Dockerfile.manylinux2014.cpu .
docker run -it build/manylinux2014:latest /bin/bash

Run the below commands to build TF.

source scl_source enable devtoolset-7 rh-python36
git clone --branch=r2.1 --depth=1 https://github.com/tensorflow/tensorflow.git
cd tensorflow/
./configure
bazel build -c opt --cxxopt="-D_GLIBCXX_USE_CXX11_ABI=0" --verbose_failures //tensorflow/tools/pip_package:build_pip_package