Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Interest in Docker image and associated CI? #2

Open
matthewfeickert opened this issue Jan 12, 2022 · 2 comments 路 May be fixed by #12
Open

Interest in Docker image and associated CI? #2

matthewfeickert opened this issue Jan 12, 2022 · 2 comments 路 May be fixed by #12
Assignees
Labels
Docker regarding docker image 鈿欙笍enhancement New feature or request

Comments

@matthewfeickert
Copy link
Contributor

Feature details

馃憢 Hi and welcome to GitHub MadAnalysis 5 team! 馃殌

I was wondering if you had any interest in having a Dockerfile for your project that would build a minimal "base" Docker image for others to build upon. This type of Docker image is useful to have in CI as well for both testing the build and then running tests against the build (c.f. https://github.com/scailfin/MadGraph5_aMC-NLO for an example of what I mean).

If so, I have one I wrote quickly on my fork and an associated CI workflow that builds and runs a very simple example as a test. If this is of any interest I'm happy to contribute a PR where we can refine this to your liking.

Implementation

Yes. I already have this done on my fork https://github.com/matthewfeickert/madanalysis5. If you want to see what it would look like roughly before code review for a PR I'd open just pull down the Docker image I made in CI and have on my fork's GitHub Container Registry

docker pull ghcr.io/matthewfeickert/madanalysis5:v1.9.60

and if you want to see it run the differential cross-section plot example from http://madanalysis.irmp.ucl.ac.be/wiki/FAQNormalMode as a sanity check

docker run --rm ghcr.io/matthewfeickert/madanalysis5:v1.9.60 'ma5 --version && cat $(find /root/ -iname "differential_xsec_plot.ma5") | ma5'

and then check inside of the differential_xsec_example it spits out.

How important would you say this feature is?

1: Not important. Would be nice to have.

Additional information

No response

@matthewfeickert matthewfeickert added the 鈿欙笍enhancement New feature or request label Jan 12, 2022
@jackaraz
Copy link
Member

Hi @matthewfeickert , thanks a lot that would be great actually. We are still setting up finishing touches for the mitigation from Launchpad but docker is definitely on the cards please do send a PR and we will check it out asap!

@matthewfeickert
Copy link
Contributor Author

thanks a lot that would be great actually. We are still setting up finishing touches for the mitigation from Launchpad but docker is definitely on the cards please do send a PR and we will check it out asap!

Great! I got a bit swamped today but I'll sync my fork and rebase and clean up my feature branch tomorrow and then PR. 馃憤

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Docker regarding docker image 鈿欙笍enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants