title: Docker build stuck at step 8/9
body: <p>I'm trying to deploy my model to tensorflow serving. for that i'm creating docker image by using the steps from the following link <a href="https://towardsdatascience.com/how-to-deploy-machine-learning-models-with-tensorflow-part-2-containerize-it-db0ad7ca35a7" rel="nofollow noreferrer">https://towardsdatascience.com/how-to-deploy-machine-learning-models-with-tensorflow-part-2-containerize-it-db0ad7ca35a7</a> . While creating the docker image the build stops at step 8/9. </p>
  
  <p>Below is the commandline screen</p>
  
  <pre><code>~/serving$ docker build --pull -t $USER/tensorflow-serving-devel -f tensorflow_serving/tools/docker/Dockerfile.devel .
  Sending build context to Docker daemon 1.239 GB
  Step 1/9 : FROM ubuntu:16.04
  16.04: Pulling from library/ubuntu
  Digest: sha256:e27e9d7f7f28d67aa9e2d7540bdc2b33254b452ee8e60f388875e5b7d9b2b696
  Status: Image is up to date for ubuntu:16.04
   ---&gt; 0458a4468cbc
  Step 2/9 : MAINTAINER Jeremiah Harmsen &lt;jeremiah@google.com&gt;
   ---&gt; Using cache
   ---&gt; 7bada30b20fe
  Step 3/9 : RUN apt-get update &amp;&amp; apt-get install -y         build-essential         curl         git         libfreetype6-dev         libpng12-dev         libzmq3-dev         mlocate         pkg-config         python-dev         python-numpy         python-pip         software-properties-common         swig         zip         zlib1g-dev         libcurl3-dev         openjdk-8-jdk        openjdk-8-jre-headless         wget         &amp;&amp;     apt-get clean &amp;&amp;     rm -rf /var/lib/apt/lists/*
   ---&gt; Using cache
   ---&gt; 57f9ee7ab8cb
  Step 4/9 : RUN pip install mock grpcio
   ---&gt; Using cache
   ---&gt; 46db62fe343f
  Step 5/9 : ENV BAZELRC /root/.bazelrc
   ---&gt; Using cache
   ---&gt; 4e1be28c3a58
  Step 6/9 : ENV BAZEL_VERSION 0.5.4
   ---&gt; Using cache
   ---&gt; 22d8de897aa6
  Step 7/9 : WORKDIR /
   ---&gt; Using cache
   ---&gt; fd083766a738
  Step 8/9 : RUN mkdir /bazel &amp;&amp;     cd /bazel &amp;&amp;     curl -fSsL -O https://github.com/bazelbuild/bazel/releases/download/$BAZEL_VERSION/bazel-$BAZEL_VERSION-installer-linux-x86_64.sh &amp;&amp;     curl -fSsL -o /bazel/LICENSE.txt https://raw.githubusercontent.com/bazelbuild/bazel/master/LICENSE &amp;&amp;     chmod +x bazel-*.sh &amp;&amp;     ./bazel-$BAZEL_VERSION-installer-linux-x86_64.sh &amp;&amp;     cd / &amp;&amp;     rm -f /bazel/bazel-$BAZEL_VERSION-installer-linux-x86_64.sh
   ---&gt; Running in 24465785bb05
  </code></pre>