I am attempting to use bazel (0.15.0) build a tensorlow-serving(1.12) Docker image (with Oracle Linux 7.6 as the OS) from source
The docker build fails at the `bazel clean` step
The container is running Oracle Linux 7.6 as the base, the host is running Mac OS 10.14.5
Also, I am running `bazel shutdown` after ever bazel build command:
inside the Dockerfile:
```
RUN bazel build --color=yes --curses=yes \
--jobs 1 --local_resources 2048,.5,1.0 \
${TF_SERVING_BAZEL_OPTIONS} \
--verbose_failures \
--output_filter=DONT_MATCH_ANYTHING \
${TF_SERVING_BUILD_OPTIONS} \
tensorflow_serving/tools/pip_package:build_pip_package && bazel shutdown
UN bazel clean --expunge_async --color=yes
```
At the `bazel clean` command at the end of the process I am getting the error:
```
Step 67/68 : RUN bazel clean --expunge_async --color=yes
---> Running in 73abf4be6c51
Starting local Bazel server and connecting to it...
..........
INFO: Starting clean.
ERROR: /root/.cache/bazel/_bazel_root/f8d1071c69ea316497c31e40fe01608c -> /root/.cache/bazel/_bazel_root/f8d1071c69ea316497c31e40fe01608c_tmp_9 (Invalid cross-device link)
The command '/bin/sh -c bazel clean --expunge_async --color=yes' returned a non-zero code: 36
```