summaryrefslogtreecommitdiffhomepage
path: root/benchmarks/workloads/tensorflow/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'benchmarks/workloads/tensorflow/Dockerfile')
-rw-r--r--benchmarks/workloads/tensorflow/Dockerfile14
1 files changed, 14 insertions, 0 deletions
diff --git a/benchmarks/workloads/tensorflow/Dockerfile b/benchmarks/workloads/tensorflow/Dockerfile
new file mode 100644
index 000000000..262643b98
--- /dev/null
+++ b/benchmarks/workloads/tensorflow/Dockerfile
@@ -0,0 +1,14 @@
+FROM tensorflow/tensorflow:1.13.2
+
+RUN apt-get update \
+ && apt-get install -y git
+RUN git clone https://github.com/aymericdamien/TensorFlow-Examples.git
+RUN python -m pip install -U pip setuptools
+RUN python -m pip install matplotlib
+
+WORKDIR /TensorFlow-Examples/examples
+
+ENV PYTHONPATH="$PYTHONPATH:/TensorFlow-Examples/examples"
+
+ENV workload "3_NeuralNetworks/convolutional_network.py"
+CMD python ${workload}