Thanks George.

Does the custom runtime use the entrypoint value of app.yaml to start the 
service? I want to use the same image for different services, where each 
service is running the same codebase, but with different commands (e.g. one 
service runs gunicorn+django, the other runs celery workers, both of which 
use the same codebase).

Or would I have to build different images for each service with a different 
CMD value in their Dockerfile?

Thanks.

On Saturday, November 26, 2016 at 4:02:11 AM UTC+8, George (Cloud Platform 
Support) wrote:
>
> Hi John, 
>
> Thank you for the interesting question. 
>
> You may build a custom runtime to your liking, and deploy it, if it 
> satisfies a set of conditions that define a performance minimum. Your 
> custom runtime needs to comply to the following 
> <https://cloud.google.com/appengine/docs/flexible/custom-runtimes/build> 
> and contain: 
>
> - An app.yaml file that describes your application's runtime configuration.
>
> - A Dockerfile that configures the runtime environment. In many cases, 
> this can be just one line specifying a base image.
>
> - You need to ensure your application is listening on port 8080 and has 
> request handlers that respond to lifecycle events, such as start, stop, and 
> health check requests.
>
> In fact, there is no imperative requirement that you have to use the base 
> images 
> <https://cloud.google.com/appengine/docs/flexible/custom-runtimes/build#configuring_the_dockerfile>
>  
> supplied by Google, only that your Docker image satisfies the above minimum 
> requirements.
>
>
> Hoping the above covers your initial concern; you are welcome to ask more 
> in-depth questions.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/fd1676d0-230a-47f6-b131-557bfbfce9c8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • [google-appengine]... John Del Rosario
    • [google-appen... 'George (Cloud Platform Support)' via Google App Engine
      • [google-a... John Del Rosario
        • [goog... 'George (Cloud Platform Support)' via Google App Engine
          • [... John Del Rosario
            • ... 'George (Cloud Platform Support)' via Google App Engine

Reply via email to