Skip to content

Commit

Permalink
Used CMD instead of ENTRYPOINT to set default runtime args (#258)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Alex Sloan authored and lesv committed Jun 20, 2016
1 parent 0e22377 commit b50e720
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion managed_vms/sparkjava/src/main/appengine/Dockerfile
Original file line number Diff line number Diff line change
@@ -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"]

0 comments on commit b50e720

Please sign in to comment.