Commit 100a2007 authored by Daniele Venzano's avatar Daniele Venzano

Do not git clone two times

parent 7635a97b
Pipeline #4246 failed with stage
in 8 minutes and 30 seconds
...@@ -44,8 +44,8 @@ RUN apt-get update && sudo apt-get install -y --force-yes --no-install-recommend ...@@ -44,8 +44,8 @@ RUN apt-get update && sudo apt-get install -y --force-yes --no-install-recommend
RUN apt-get upgrade -y --force-yes --no-install-recommends bazel RUN apt-get upgrade -y --force-yes --no-install-recommends bazel
# CLONE FROM GIT # CLONE FROM GIT
RUN git clone https://github.com/tensorflow/tensorflow #RUN git clone https://github.com/tensorflow/tensorflow
WORKDIR /tensorflow #WORKDIR /tensorflow
################################################## ##################################################
# Make sure important packages are installed # Make sure important packages are installed
...@@ -75,8 +75,8 @@ RUN mkdir /bazel && \ ...@@ -75,8 +75,8 @@ RUN mkdir /bazel && \
# Download and build TensorFlow. # Download and build TensorFlow.
RUN git clone https://github.com/tensorflow/tensorflow.git && \ RUN git clone https://github.com/tensorflow/tensorflow.git && \
cd tensorflow && \ cd tensorflow
git checkout r1.2 # git checkout r1.2
WORKDIR /tensorflow WORKDIR /tensorflow
# TODO(craigcitro): Don't install the pip package, since it makes it # TODO(craigcitro): Don't install the pip package, since it makes it
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment