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

Is base image Ubuntu 16 or 18? #253

Open
wlongabaugh opened this issue May 13, 2022 · 3 comments
Open

Is base image Ubuntu 16 or 18? #253

wlongabaugh opened this issue May 13, 2022 · 3 comments

Comments

@wlongabaugh
Copy link

The Google docs for the Python runtime state that "The Python runtime is based on Ubuntu 18.04", and points to this repo, where indeed the build script specifies os_base=ubuntu18. That change was made back in July 2021. Yet if one goes to the Google container registry page, the 'latest' image (dated Oct 4, 2021):

gcr.io/google-appengine/python@sha256:c6480acd38ca4605e0b83f5196ab6fe8a8b59a0288a7b8216c42dbc45b5de8f6

appears to be for Ubuntu 16. For example, a Container Registry Vulnerability Scan for an AppEngine Flex image deployed with runtime: python shows up with Affected location cpe:/o:canonical:ubuntu_linux:16.04.

So why the discrepancy? Are Google App Engine Flex Python runtimes based on 18 (per the docs and this repo) or 16 (per what actually appears to show up in the Registry)?

Thanks.

@pkacprzak
Copy link

I also researched this issue because I really need to install GNU libc in version at least 2.31 and I need a newer Ubuntu version than 16.04 to be able to install it. I checked a few images, including "latest" and even more recent releases published on Google container registry page that are available up to this day and I added this step to my Dockerfile to check the system version of each image: RUN echo $(cat /etc/*release) - it turns out that all run on Ubuntu 16.04 which is really misleading as @wlongabaugh pointed out.

My question is: is there a way of running image gcr.io/google-appengine/python with Ubuntu 18.04 without building the image from the source by ourselves?

@heyalexchoi
Copy link

@donmccasland @bendory should people still be using these images? is this project dead?

@bendory
Copy link
Member

bendory commented Jul 29, 2022

Sorry, while I may have contributed code here, I've never been on the actual project team -- so I have no knowledge of the status of this project.

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

No branches or pull requests

4 participants