From 93008ab21860463180de57dde624eef5fd523bf5 Mon Sep 17 00:00:00 2001 From: Alex Sloan Date: Fri, 17 Jun 2016 16:16:20 -0400 Subject: [PATCH] Use CMD instead of ENTRYPOINT 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"]