Skip to content

Update Docker configuration to latest Ubuntu LTS and dependencies#1204

Open
shivnshshrma wants to merge 2 commits intoSandia-OpenSHMEM:mainfrom
shivnshshrma:update-dockerfile
Open

Update Docker configuration to latest Ubuntu LTS and dependencies#1204
shivnshshrma wants to merge 2 commits intoSandia-OpenSHMEM:mainfrom
shivnshshrma:update-dockerfile

Conversation

@shivnshshrma
Copy link

Pull Request Description

Summary

This pull request updates the Docker configuration to use Ubuntu 25.04 LTS as the base image and upgrades all dependencies to their latest stable versions. Additionally, minor typos in the README.md file have been corrected for improved clarity.

Why the Change?

The previous base image, Ubuntu 20.04 LTS, is nearing its end-of-life in April 2025. Upgrading to Ubuntu 25.04 LTS ensures:

  • Continued security updates and support.
  • Access to the latest features and improvements in the Ubuntu ecosystem.
  • Compatibility with updated versions of dependencies.

Key Changes

  1. Dockerfile:

    • Updated the base image from ubuntu:20.04 to ubuntu:25.04.
    • Verified and updated all dependencies to their latest stable versions.
    • Ensured compatibility with the new Ubuntu version by testing the build process.
  2. README.md:

    • Fixed typos and clarified instructions.
    • Updated references to the Ubuntu version where applicable.

Testing

  • Successfully built and tested the Docker image with Ubuntu 25.04.
  • Verified that all dependencies work correctly with the updated configuration.
  • Tested the SOS application and benchmarks in the updated container to ensure functionality.

Impact

This update ensures that the project remains secure, up-to-date, and maintainable by aligning with the latest LTS release of Ubuntu.

Next Steps

  • Review and merge this pull request.
  • Update any documentation or CI/CD pipelines that reference the old Ubuntu version.

…ix typos in README

Signed-off-by: shivnshshrma <shivnshshrma@gmail.com>
@markbrown314
Copy link
Collaborator

Thanks @shivnshshrma. Linking with issue #1186. Will review shortly.

Copy link
Collaborator

@markbrown314 markbrown314 left a comment

Choose a reason for hiding this comment

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

Commit message is too long and has an extra space. It should look something like this:

Updated Docker configuration
* Uses Ubuntu 24.04 LTS
* Fixed typos in README.md

Issue #1186

Signed-off-by: USE FULL NAME HERE <shivnshshrma@gmail.com>

@shivnshshrma
Copy link
Author

Updated docker configuration with all the necessary changes

  • Uses Ubuntu 24.04 LTS
  • Updated Portals 4 repository URL to the correct location (sandialabs/portals4)

markbrown314 added a commit to markbrown314/SOS that referenced this pull request Jun 17, 2025
Workaround for Sandia-OpenSHMEM#1204

Signed-off-by: Mark F. Brown <mark.f.brown@intel.com>
@markbrown314
Copy link
Collaborator

@shivnshshrma are you still interested in completing this pull request?

@shivnshshrma
Copy link
Author

@markbrown314 yes definitely
So we have to change the ubuntu 24 to ubuntu 22 right?

@markbrown314
Copy link
Collaborator

markbrown314 commented Jul 3, 2025

@shivnshshrma thanks. Looks like you did the Ubuntu 24.04 change.

You need to comment out Portals support, because it is not building properly on Ubuntu 24.04. And you should squash it into one change using git rebase -i

# Build Portals 4
#WORKDIR $SOS_INSTALL
#RUN git clone --depth 10 https://github.com/sandialabs/portals4.git portals4
#WORKDIR $SOS_INSTALL/portals4
#RUN ./autogen.sh
#RUN ./configure --prefix=$SOS_INSTALL/portals4/install --enable-zero-mrs .....
#RUN make -j
#RUN make install

I am checking the docker build and might request a few more changes.

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.

3 participants