Skip to content

Modernize docker files - #40

Merged
orbeckst merged 3 commits into
mainfrom
modernize-docker-files
Nov 6, 2026
Merged

orbeckst merged 3 commits into
mainfrom
modernize-docker-files

Conversation

@orbeckst

@orbeckst orbeckst commented Nov 5, 2026 •

Copy link
Copy Markdown
Member

@orbeckst orbeckst mentioned this pull request Nov 5, 2026
- standardize ARG declarations and improve readability
- Update environment dependencies from 'openmp' to 'libgomp' in env.yaml and runtime_env.yaml files for both NAMD and GROMACS; allows building on arm64
- only include runtime_env.yaml in final image (and not the whole build folder)
- Enhance file permissions during COPY commands for better security practices.
- Added # syntax=docker/dockerfile:1 at the top of each file, so BuildKit uses the current Dockerfile syntax.
- updated docker/login GH action to v4
- removed commented out lines (related to qemu)
- removed unused fix_rpm script
- removed unused CentOS rpm repos directory and files
- removed unused docker/namd/TMP.Dockerfile (alpine)

Assisted-by: Claude Opus 5.5 [cursor]
@orbeckst
orbeckst force-pushed the modernize-docker-files branch from 458b1a4 to 7b56808 Compare November 6, 2026 00:06
- fix #12
- consistent labels tags: main and short-sha (instead of overwriting the only image),
  version is now "dev" instead of the misleading Ubuntu release;
- include accurate license info in labels
- renamed branch labels (using namespaced form); added note to README that this changed
- properly handle labeling of the NAMD image
@orbeckst orbeckst self-assigned this Nov 6, 2026
@orbeckst
orbeckst requested review from amruthesht, hmacdope and ljwoods2 and removed request for amruthesht November 6, 2026 16:32
@orbeckst

orbeckst commented Nov 6, 2026

Copy link
Copy Markdown
Member Author

@amruthesht does the labeling scheme affect how we use the images in the imdclient tests?

@orbeckst

orbeckst commented Nov 6, 2026

Copy link
Copy Markdown
Member Author

Just looked through imdclient and I don't think that this PR will break docker use there. Unless anyone has any concerns, I'll merge this PR soon.

@orbeckst

orbeckst commented Nov 6, 2026

Copy link
Copy Markdown
Member Author

Having containers with SHA labels may increase the storage use of our contained registry. Apparently, the storage limit is "10 GB per layer" https://docs.github.com/en/packages/working-with-a-github-packages-registry/working-with-the-container-registry#troubleshooting

Maybe look into a clean-up action such as https://github.com/marketplace/actions/ghcr-cleaner

@orbeckst
orbeckst merged commit f69b0f3 into main Nov 6, 2026
2 checks passed
@orbeckst
orbeckst deleted the modernize-docker-files branch November 6, 2026 17:56
@orbeckst

orbeckst commented Nov 6, 2026

Copy link
Copy Markdown
Member Author

See #42 regarding cleanup

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.

Add OpenContainers tags

1 participant