Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ruby example fails to start. #18

Open
DanielJoyce opened this issue Feb 27, 2019 · 2 comments
Open

Ruby example fails to start. #18

DanielJoyce opened this issue Feb 27, 2019 · 2 comments

Comments

@DanielJoyce
Copy link

latest: digest: sha256:4916f24ae6e371c929207e86cd6de1548c887fe2b1257cabf254e9cad0a3fa0b size: 3038
DONE
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Updating service [derp] (this may take several minutes)...failed.                                                                                                                           
ERROR: (gcloud.app.deploy) Error Response: [4] Your deployment has failed to become healthy in the allotted time and therefore was rolled back. If you believe this was an error, try adjusting the 'app_start_timeout_sec' setting in the 'readiness_check' section.

Does it really work without a CMD in the docker file?

@DanielJoyce
Copy link
Author

Adding the following

CMD ["bundle", "exec", "ruby", "app.rb"]

to the ruby example allows it to start

@dazuma
Copy link
Member

dazuma commented May 20, 2019

We also need to move off of the unsupported gcr.io/google-appengine/ruby base image, and onto a usable base image such as one of the official Ruby images from dockerhub.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants