-
Notifications
You must be signed in to change notification settings - Fork 12
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’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add dockerfile #58
Add dockerfile #58
Conversation
perhaps this goes without saying but this will also need the parastell dependencies added, I was thinking about doing that with conda/mamba since that is how our install instructions are written |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @Edgar-21 - we might want to consolidate the dependencies
We need to add the environment file here too. |
This has a conda environment named |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this works for me. I have a few convenience suggestions.
Thanks @Edgar-21 - this works for me |
Heavily inspired by a dockerfile shared by Shimwell here https://forum.coreform.com/t/trelis-in-docker/442/2.
Uses the miniconda docker image as the base (Debian Bullseye), found here https://hub.docker.com/r/continuumio/miniconda3. To use cubit, the image can be run interactively, and the license file copied to the appropriate location. Cubit works in terminal with the --no-graphics option and can be imported into python.
I expect it will need a couple additions for this to work with Github actions. I'll start looking at that documentation in the next few days, in the meantime wanted to get this posted to get some eyes on it sooner rather than later
fixes #57