File tree 3 files changed +22
-0
lines changed
samples/languages/java/docker
3 files changed +22
-0
lines changed Original file line number Diff line number Diff line change @@ -10,3 +10,6 @@ docker run -it --rm -v ${PWD}/..:/examples -w /examples java-tensorflow
10
10
That second command will pop you into a shell which has all
11
11
the dependencies required to execute the scripts and Java
12
12
examples.
13
+
14
+ The script ` sanity_test.sh ` builds this container and runs a compilation
15
+ check on all the maven projects.
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+ #
3
+ # Silly sanity test
4
+ DIR=" $( cd " $( dirname " $0 " ) " && pwd -P) "
5
+
6
+ docker build -t java-tensorflow .
7
+ docker run -it --rm -v ${PWD} /..:/examples java-tensorflow bash /examples/docker/test_inside_container.sh
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+
3
+ set -ex
4
+
5
+ cd /examples/label_image
6
+ mvn compile
7
+
8
+ cd /examples/object_detection
9
+ mvn compile
10
+
11
+ cd /examples/training
12
+ mvn compile
You can’t perform that action at this time.
0 commit comments