From e568563c40deae7155502489b00ddcf0196bbbb3 Mon Sep 17 00:00:00 2001 From: Alex Sloan Date: Mon, 20 Jun 2016 13:33:12 -0400 Subject: [PATCH] Used CMD instead of ENTRYPOINT to set default runtime args Using the ENTRYPOINT directive here would override the settings from the base docker image, breaking the configuration of the cloud debugger. Instead, CMD is the proper directive to use here to specify runtime arguments. --- managed_vms/sparkjava/src/main/appengine/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/managed_vms/sparkjava/src/main/appengine/Dockerfile b/managed_vms/sparkjava/src/main/appengine/Dockerfile index 5dc3edbd200..db698b196de 100644 --- a/managed_vms/sparkjava/src/main/appengine/Dockerfile +++ b/managed_vms/sparkjava/src/main/appengine/Dockerfile @@ -1,4 +1,4 @@ FROM gcr.io/google_appengine/openjdk8 VOLUME /tmp ADD managed-vms-spark-1.0-jar-with-dependencies.jar app.jar -ENTRYPOINT [ "java","-Djava.security.egd=file:/dev/./urandom","-jar","/app.jar"] +CMD [ "java","-Djava.security.egd=file:/dev/./urandom","-jar","/app.jar"]