anchor.diff:          && \
       apt-get clean && \
       rm -rf /var/lib/apt/lists/*
  -
  -RUN curl -fSsL -O https://bootstrap.pypa.io/get-pip.py && \
  -    python get-pip.py && \
  -    rm get-pip.py
  -
  -RUN pip --no-cache-dir install \
  -        ipykernel \
  -        jupyter \
  -        matplotlib \
  -        numpy \
  -        scipy \
  -        sklearn \
  -        pandas \
  -        && \
  -    python -m ipykernel.kernelspec
   #End: install prerequisites
  -
  -#Begin: install basel
  -# Running bazel inside a `docker build` command causes trouble, cf:
  -#   https://github.com/bazelbuild/bazel/issues/134
  -# The easiest solution is to set up a bazelrc file forcing --batch.
  -RUN echo "startup --batch" >>/etc/bazel.bazelrc
  -# Similarly, we need to workaround sandboxing issues:
  -#   https://github.com/bazelbuild/bazel/issues/418
  -RUN echo "build --spawn_strategy=standalone --genrule_strategy=standalone" \
  -    >>/etc/bazel.bazelrc
  -# Install the most recent bazel release.
  -ENV BAZEL_VERSION 0.11.1
  -WORKDIR /
  -RUN mkdir /bazel && \
  -    cd /bazel && \
  -    curl -H "User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2987.133 Safari/537.36" -fSsL -O https://github.com/bazelbuild/bazel/releases/download/$BAZEL_VERSION/bazel-$BAZEL_VERSION-installer-linux-x86_64.sh && \
  -    curl -H "User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2987.133 Safari/537.36" -fSsL -o /bazel/LICENSE.txt https://raw.githubusercontent.com/bazelbuild/bazel/master/LICENSE && \
  -    chmod +x bazel-*.sh && \
  -    ./bazel-$BAZEL_VERSION-installer-linux-x86_64.sh && \
  -    cd / && \
  -    rm -f /bazel/bazel-$BAZEL_VERSION-installer-linux-x86_64.sh
  -#End: install basel
  -
  -#Begin: Download and build TensorFlow
  -RUN git clone https://github.com/tensorflow/tensorflow.git && \
  -    cd tensorflow && \
  -    git checkout r1.5
  -WORKDIR /tensorflow
  -
  -ENV CI_BUILD_PYTHON python
  -
  -RUN tensorflow/tools/ci_build/builds/configured CPU \
  -    bazel build -c opt --cxxopt="-D_GLIBCXX_USE_CXX11_ABI=0" \
  -        tensorflow/tools/pip_package:build_pip_package && \
  -    bazel-bin/tensorflow/tools/pip_package/build_pip_package /tmp/pip && \
  -    pip --no-cache-dir install --upgrade /tmp/pip/tensorflow-*.whl
  -    #rm -rf /tmp/pip && \
  -    #rm -rf /root/.cache
  -#End: Download and build TensorFlow
   
   #Begin: install golang
   ENV GOLANG_VERSION 1.10.1
   ENV GOLANG_DOWNLOAD_URL https://golang.org/dl/go$GOLANG_VERSION.linux-amd64.tar.gz
  -ENV GOLANG_SHA256_CHECKSUM b5a64335f1490277b585832d1f6c7f8c6c11206cba5cd3f771dcb87b98ad1a33
  +ENV GOLANG_SHA256_CHECKSUM 72d820dec546752e5a8303b33b009079c15c2390ce76d67cf514991646c6127b
   ENV GOPATH /go
   ENV PATH $PATH:$GOPATH/bin:/usr/local/go/bin
   RUN curl -fsSL "$GOLANG_DOWNLOAD_URL" -o golang.tar.gz && \
  
positive.code:         libzmq3-dev \
          locate \
          pkg-config \
          python-dev \
          rsync \
          software-properties-common \
          sudo \
  
negative.code: #End: install delve
  
  WORKDIR "/go/src/github.com/ctava/tfcgo/examples"
  