Selaa lähdekoodia

generates the package into /opt, this particular configuration generates tensorflow-1.8.0-cp36-cp36m-linux_x86_64.whl

tarfeef101 5 vuotta sitten
vanhempi
commit
bb052a17cb
1 muutettua tiedostoa jossa 5 lisäystä ja 0 poistoa
  1. 5 0
      Dockerfile

+ 5 - 0
Dockerfile

@@ -99,3 +99,8 @@ RUN export PATH=$PATH:/root/bin && \
     cd /opt/tensorflow && \
     ./configure && \
     bazel build --config=opt --config=cuda tensorflow/tools/pip_package:build_pip_package
+
+RUN export PATH=$PATH:/root/bin && \
+    cd /opt/tensorflow && \
+    ./bazel-bin/tensorflow/tools/pip_package/build_pip_package /opt && \
+    ls /opt