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

Move DMOD service images and service Python packaging image to Rocky Linux base #427

Merged
merged 10 commits into from
Sep 18, 2023

Conversation

robertbartel
Copy link
Contributor

Move main stack service images and the py-sources image (on which the service images depend) to a base of Rocky Linux. This removes the need for several pre-built wheels and simplifies the build overall, at the cost of slightly larger images.

These changes resolve some issues causing image builds to currently fail, as tracked in #425.

Updating to new base image to address problems with previous alpine
base, including no longer having to pre-build wheels of several
dependencies (e.g., pandas), which had become broken.
Removing py-deps image/service from py-sources stack, as this was
primarily added to cleanly contain the layers that custom-built several
wheels for service package dependencies, which is no longer required
after moving from an Alpine Linux base image to Rocky Linux.
@aaraney
Copy link
Member

aaraney commented Sep 14, 2023

Is this ready to review or are you considering targeting rocky 9 after our conversation earlier, @robertbartel? For a little context, there is an ongoing discussion if NextGen needs to support GCC 8. This discussion centers around the absence of c++ std smart pointer types in GCC 8. Coincidentally, rocky linux 8's package repo ships GCC 8.5 where as rocky linux 9 ships GCC 11.

@robertbartel
Copy link
Contributor Author

I am still considering moving the ngen images (and the others) to 9.1, but it turned out that 9.1 didn't help with the problem I was having. Since it isn't immediately helpful/necessary, I don't want to rush to make that change.

For now, let's move forward with 8.5 on this one.

Copy link
Member

@aaraney aaraney left a comment

Choose a reason for hiding this comment

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

This looks good to me! Thanks, @robertbartel!

@robertbartel robertbartel merged commit 6b4ed0f into NOAA-OWP:master Sep 18, 2023
1 check failed
@robertbartel robertbartel deleted the b/service_images_rocky/main branch September 18, 2023 17:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working maas MaaS Workstream
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants