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

Clear base image entrypoint #71

Merged
merged 1 commit into from Feb 17, 2017

Conversation

dazuma
Copy link
Member

@dazuma dazuma commented Feb 17, 2017

Remove the ENTRYPOINT from the base image.

This was a vestige of the pre-beta design where we were using ENTRYPOINT rather than CMD. Currently, the image generated by App Engine Flex during deployment must clear the ENTRYPOINT and set CMD instead. We'd like to clean this up so that images based on this base image don't have to clear the ENTRYPOINT. We also want to match other language base images, which all either use CMD or don't set a default at all.

This is a potential breaking change if any users have a custom image based on the ruby base image that depend on the default ENTRYPOINT setting. I don't expect this would happen commonly if ever, since the Dockerfile generated by app gen-config --custom clears the ENTRYPOINT itself. (It would not affect runtime: ruby customers at all.) I talked with @JustinBeckwith about this and I think I convinced him it should be okay while we're still in beta. @thagomizer @remi @hxiong388 any objections?

@hxiong388 hxiong388 merged commit a43e38f into GoogleCloudPlatform:master Feb 17, 2017
@dazuma dazuma deleted the clear-entrypoint branch February 19, 2017 02:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants