Hi,
I am deploying a binary on Google cloud flexible app engine for two
different services. So I have {app-service1.yaml, Dockerfile-service1} and
{app-service2.yaml, Dockerfile-service2}. And use "gcloud app deploy"
command to deploy them.
Is it possible to send a param from app-service[1|2].yaml to a single
Dockerfile, so that I can maintain only one Dockerfile?
I tried two things but they didn't work with "gcloud deploy" command:
- "entrypoint:" in app.yaml -- It does not override what is set in CMD
in Dockerfile.
- "env_variables:" in app.yaml -- Dockerfile's ENV or ARG do not see any
variables defined in env_variables:.
I was hoping that gcloud command can send environment variables to a
container, but any method of sending parameters to a container would be
very useful to me.
Thanks.
--
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/c213a8af-5974-4657-82dd-2021f218b735%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.