Repository navigation
Add Dockerfile and workflow to publish image to GHCR - #499
Conversation
Multi-stage Dockerfile installing phys2bids with the acq and mat extras into a venv, running as a non-root user with the CLI as entrypoint. A GitHub Actions workflow builds multi-arch images and pushes them to ghcr.io on master pushes, tags and manual runs; pull requests build without pushing. Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
smoia
left a comment
There was a problem hiding this comment.
Thank you @bpinsard ! The docker addition is appreciated.
The only question I have is whether a trigger is needed on every push to master - our CD policy is set to release at every functional change, so anything that you wouldn't catch with a release is actually in folders that are listed in .dockerignore.
As for PRs to master: do you need to build the dockerfile? Is it for testing purposes?
I'll promote this PR to trigger a minor release, so it will start building from now on.
If you could add a (LLM'd) line to the readme to state there's a docker recipe (and where to find it) that is feature-rich but does not support spike2, that'd be awesome.
Co-authored-by: Stefano Moia <s.moia.research@gmail.com>
Co-authored-by: Stefano Moia <s.moia.research@gmail.com>
Co-authored-by: Stefano Moia <s.moia.research@gmail.com>
|
@all-contributors add @bpinsard for infra, platform |
|
I've put up a pull request to add @bpinsard! 🎉 |
|
🚀 PR was released in |
|
Running here |
|
wow! thanks for the super-responsivness. |
|
How about now? |
|
great to see you both on top of it. I will I guess make my claude look into ;) |
|
thanks @smoia , all good now. |
Proposed Changes
Multi-stage Dockerfile installing phys2bids with the acq and mat extras into a venv, running as a non-root user with the CLI as entrypoint. A GitHub Actions workflow builds multi-arch images and pushes them to ghcr.io on master pushes, tags and manual runs; pull requests build without pushing.
The idea would be to then add this container to https://github.com/ReproNim/containers @yarikoptic .
Change Type
bugfix(+0.0.1)minor(+0.1.0)major(+1.0.0)refactoring(no version update)test(no version update)infrastructure(no version update)documentation(no version update)otherChecklist before review