summaryrefslogtreecommitdiffhomepage
path: root/test/runtimes/java/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'test/runtimes/java/Dockerfile')
-rw-r--r--test/runtimes/java/Dockerfile3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/runtimes/java/Dockerfile b/test/runtimes/java/Dockerfile
index b9132b575..1a61d9d8f 100644
--- a/test/runtimes/java/Dockerfile
+++ b/test/runtimes/java/Dockerfile
@@ -31,5 +31,6 @@ ENV LANG_DIR=/root
COPY common /root/go/src/gvisor.dev/gvisor/test/runtimes/common/common
COPY java/proctor-java.go ${LANG_DIR}
+RUN ["/root/go/bin/go", "build", "-o", "/root/go/bin/proctor", "proctor-java.go"]
-ENTRYPOINT ["/root/go/bin/go", "run", "proctor-java.go"]
+ENTRYPOINT ["/root/go/bin/proctor"]