Commit b286e811 authored by Tru  HUYNH's avatar Tru HUYNH
Browse files

delete downloaded files and build tree if /usr/local/bin/bazel is built

parent f6d3c163
......@@ -62,10 +62,14 @@ RUN gpg --recv-key 48457EE0 ; gpg --recv-key 48457EE0
RUN gpg --verify && unzip -d /tmp/bazel-0.4.5-dist
RUN gpg --verify && unzip -d /tmp/bazel-0.4.5-dist && \
# enable the new devtoolset
RUN echo 'cd /tmp/bazel-0.4.5-dist && bash ./ && cp output/bazel /usr/local/bin' | scl enable devtoolset-3 bash
# cleanup
RUN [ -f /usr/local/bin/bazel ] && /bin/rm -rf /tmp/bazel-0.4.5-dist
# stop here if you only need bazel (to build tensorflow for instance)
# if you want to build the git version of bazel uncomment the following 2 lines.
#RUN git clone /tmp/bazel && \
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