Skip to content

Maintenance update for image building#2153

Merged
GernotMaier merged 20 commits into
mainfrom
docker-alma-linux
May 6, 2026
Merged

Maintenance update for image building#2153
GernotMaier merged 20 commits into
mainfrom
docker-alma-linux

Conversation

@GernotMaier
Copy link
Copy Markdown
Contributor

@GernotMaier GernotMaier commented May 3, 2026

Maintenance update for image building - mostly to simplify future updates for newer alma linux base images:

  • install GSL from source for the sim_telarray image (GSL not available for newer alma linux version)
  • change from almalinux 9.5 to 9.7 (most recent version)
  • remove legacy Docker files, as they are not used anymore (and each time I look into this I get confused!)

This should make it easier to move towards updates of almalinux (e.g. with newer python versions).

@GernotMaier GernotMaier self-assigned this May 3, 2026
@GernotMaier GernotMaier linked an issue May 3, 2026 that may be closed by this pull request
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Maintenance updates to the container build stack (CORSIKA, sim_telarray, simtools dev/prod images) to support newer AlmaLinux bases and remove legacy build paths, including adding a GSL-from-source workflow for sim_telarray.

Changes:

  • Bump AlmaLinux base images from 9.5 to 9.7 via a shared build-arg.
  • Build and ship GSL from source in the sim_telarray image and propagate the runtime libs into simtools images.
  • Remove legacy Dockerfiles and legacy GitHub Actions workflows; extend the sim_telarray workflow to fetch the GSL source tarball.

Reviewed changes

Copilot reviewed 10 out of 10 changed files in this pull request and generated 7 comments.

Show a summary per file
File Description
docker/Dockerfile-simtools-prod AlmaLinux version parametrized; copies GSL libs from sim_telarray; adjusts env vars
docker/Dockerfile-simtools-dev AlmaLinux version parametrized; copies GSL libs; base-image selection changed
docker/Dockerfile-simtel_array AlmaLinux version parametrized; adds GSL source build and copies libs into runtime image
docker/Dockerfile-corsika7 AlmaLinux version parametrized; minor cleanup/comment tweak
docker/Dockerfile-simtools-legacy Removed legacy simtools build Dockerfile
docker/Dockerfile-corsika-simtel Removed legacy combined CORSIKA/sim_telarray Dockerfile
.github/workflows/build-sim_telarray.yml Adds an artifact step to provide gsl.tar.gz to the Docker build context
.github/workflows/build-simtools-legacy.yml Removed legacy simtools image workflow
.github/workflows/build-corsika-simtel-legacy.yml Removed legacy base-image workflow

Comment thread docker/Dockerfile-simtel_array Outdated
Comment thread docker/Dockerfile-simtools-dev Outdated
Comment thread docker/Dockerfile-simtools-dev
Comment thread docker/Dockerfile-simtools-prod
Comment thread docker/Dockerfile-simtel_array
Comment thread docker/Dockerfile-simtel_array
Comment thread docker/Dockerfile-corsika7 Outdated
@GernotMaier GernotMaier marked this pull request as ready for review May 5, 2026 12:17
@GernotMaier GernotMaier marked this pull request as draft May 5, 2026 13:03
@GernotMaier GernotMaier marked this pull request as draft May 5, 2026 13:03
@ctao-sonarqube
Copy link
Copy Markdown

ctao-sonarqube Bot commented May 5, 2026

Quality Gate passed Quality Gate passed

Issues
0 New issues
0 Fixed issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarQube

@GernotMaier GernotMaier marked this pull request as ready for review May 6, 2026 07:25
@GernotMaier GernotMaier requested a review from orelgueta May 6, 2026 07:25
@GernotMaier
Copy link
Copy Markdown
Contributor Author

Thanks @orelgueta

@GernotMaier GernotMaier merged commit 025f639 into main May 6, 2026
50 checks passed
@GernotMaier GernotMaier deleted the docker-alma-linux branch May 6, 2026 08:17
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.

Harmonize python versions across repositories

3 participants