Skip to content

fix: update libraries and python for the base image #570

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

Merged
merged 4 commits into from
Aug 22, 2024

Conversation

iennae
Copy link
Contributor

@iennae iennae commented Aug 22, 2024

pulled a selection from the testing infra docs. nox probably needs to pull a latest as well.

@iennae iennae requested a review from a team as a code owner August 22, 2024 06:19
@iennae
Copy link
Contributor Author

iennae commented Aug 22, 2024

if tests pass replaces #552; I selected the versions of python and CLOUD_SDK_VERSION based on

https://github.com/googleapis/google-cloud-python/blob/main/.kokoro/docker/docs/Dockerfile

I suspect that this could be simplified a lot more because I think the base is building from https://github.com/googleapis/testing-infra-docker/blob/main/python/cloud-devrel-kokoro-resources/python-base/Dockerfile

@iennae
Copy link
Contributor Author

iennae commented Aug 22, 2024

#571 needs to happen first so that nox doesn't get complaints about old version of python not being supported.

# Use system python for cloud sdk.
ENV CLOUDSDK_PYTHON /usr/bin/python
ENV CLOUDSDK_PYTHON python3.12

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we use something like ENV CLOUDSDK_PYTHON $(which python3)? (Not sure if that's valid Docker)

@iennae iennae merged commit 21d4d6b into main Aug 22, 2024
4 of 5 checks passed
@iennae iennae deleted the sigje-modernize-dockerfile branch August 22, 2024 20:01
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 this pull request may close these issues.

2 participants