These instructions were inspired by
- Building Bazel on Raspberry PI
- Building TensorFlow 1.3.0-rc1 for Raspberry Pi/Ubuntu 16.04: a Step-By-Step Guide
- Raspberry PI Build Script from Tensorflow Repo
- install.sh from the node-tensorflow project.
Updated information is included based on Tensorflow 2.0.0 and Bazel 0.26.1. As far as I know, the latest acceptable version of Bazel is 0.26.1.