Skip to content

Commit b50e720

Browse files
Alex Sloanlesv
authored andcommitted
Used CMD instead of ENTRYPOINT to set default runtime args (#258)
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.
1 parent 0e22377 commit b50e720

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • managed_vms/sparkjava/src/main/appengine
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
FROM gcr.io/google_appengine/openjdk8
22
VOLUME /tmp
33
ADD managed-vms-spark-1.0-jar-with-dependencies.jar app.jar
4-
ENTRYPOINT [ "java","-Djava.security.egd=file:/dev/./urandom","-jar","/app.jar"]
4+
CMD [ "java","-Djava.security.egd=file:/dev/./urandom","-jar","/app.jar"]

0 commit comments

Comments
 (0)