Skip to content
Snippets Groups Projects
Select Git revision
  • be5fa034abc7815f341199e185f5c3a3ef9d5148
  • master default protected
  • cvh
  • main
4 results

manylinux2014_docker_images

user avatar
bhack authored and GitHub committed
It is required for git push operation in the container when you use it a devel image.
9eb9c4fa
History

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