Skip to content

Reduce container image size - #749

Merged
yousefmoazzam merged 2 commits into
mainfrom
reduce-container-image-size
Aug 14, 2026
Merged

Reduce container image size#749
yousefmoazzam merged 2 commits into
mainfrom
reduce-container-image-size

Conversation

@yousefmoazzam

Copy link
Copy Markdown
Collaborator

Works towards IMGDA-943

Checklist

  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • I have made corresponding changes to the documentation
  • I have added the user-release-note label in order to include this PR in the "Notable
    Changes for Users" section in release notes

Removing the `gcc` dependency that is needed only for building
`httomolib`, and the `pluggy` and `pytest` dependencies that aren't
needed for production, reduces the container image size by ~1.6GB.

Also, the various installation commands for the majority of the
dependences were put into a single command due to strange errors
regarding overwritten files when certain dependencies were updated
multiple times across the different installation commands; if the
dependencies exhibiting these issues are installed in the same command,
this issue doesn't occur.
This was added due to an issue relating to requiring ssh or rsh to be
installed in the container. The feature of OpenMPI requiring remote
agents won't be used in the container for running httomo, so this is
safe to ignore I think, following the information given in the following
GitHub thread:
open-mpi/ompi#7330 (comment).
@yousefmoazzam
yousefmoazzam merged commit 121ba53 into main Aug 14, 2026
4 of 5 checks passed
@yousefmoazzam
yousefmoazzam deleted the reduce-container-image-size branch August 14, 2026 11:30
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.

1 participant