Skip to content

Commit

Permalink
rename wheel file
Browse files Browse the repository at this point in the history
  • Loading branch information
erikbern committed Apr 8, 2018
1 parent 6ddedd4 commit 5e1ac13
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,8 @@ RUN cd /tmp/tensorflow-${TENSORFLOW_VERSION} \
&& bazel build -c opt --local_resources ${LOCAL_RESOURCES} //tensorflow/tools/pip_package:build_pip_package
RUN cd /tmp/tensorflow-${TENSORFLOW_VERSION} \
&& ./bazel-bin/tensorflow/tools/pip_package/build_pip_package /tmp/tensorflow_pkg
RUN cp /tmp/tensorflow_pkg/tensorflow-${TENSORFLOW_VERSION}-cp36-cp36m-linux_x86_64.whl /root/alpine-tensorflow-${TENSORFLOW_VERSION}-cp36-cp36m-linux_x86_64.whl
RUN cp /tmp/tensorflow_pkg/tensorflow-${TENSORFLOW_VERSION}-cp36-cp36m-linux_x86_64.whl /root

# Make sure it's built properly
RUN pip3 install --no-cache-dir /root/alpine-tensorflow-${TENSORFLOW_VERSION}-cp36-cp36m-linux_x86_64.whl \
RUN pip3 install --no-cache-dir /root/tensorflow-${TENSORFLOW_VERSION}-cp36-cp36m-linux_x86_64.whl \
&& python3 -c 'import tensorflow'

0 comments on commit 5e1ac13

Please sign in to comment.