Docker image to succesfully run tensorflow 2.1 in Go.
Due to the fact that regular installation of tensorflow 2 in Go does not work as specified in here, the Tensorflow C library must be built from source according to this.
The Docker image is built from Ubuntu 18.04, latest version of Go is installed, protocol buffer compiler is installed and bazelisk is used to automatically pick the right version of Bazel to build tensorflow C library.
A git checkout is made to reverse to version 2.1 of tensorflow, where the library for Go works with no problems.
- Juan Pablo Rojas - Github