Copy the Docker build script from the official docker image

2 jobs for master in 4 minutes and 7 seconds (queued for 2 seconds)
Status Job ID Name Coverage
  Deploy
passed #2921
google

00:01:01

failed #2920
standalone

00:04:07

 
Name Stage Failure
failed
standalone Deploy There is an unknown failure, please try again

See http://bazel.build/docs/getting-started.html to start a new project!
---> cac4f12dddfc
Removing intermediate container ed6be131ddbb
Step 21/37 : RUN git clone https://github.com/tensorflow/tensorflow.git && cd tensorflow && git checkout r1.2
---> Running in 47d2bae7cedd
fatal: destination path 'tensorflow' already exists and is not an empty directory.
The command '/bin/sh -c git clone https://github.com/tensorflow/tensorflow.git && cd tensorflow && git checkout r1.2' returned a non-zero code: 128
ERROR: Job failed: exit code 128