-
-
Notifications
You must be signed in to change notification settings - Fork 549
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
Improvements to the Docker installation and usage procedures #3312
Comments
I tried it at my end with the current instructions and Git was setup for me automatically. It only prompted me to log in with my Github user, but I could pull and push easily (note that I have push access to the PyBaMM repo, so people who don't will have to set the remote). |
I tried it on my end as well and I faced some issues too. Here are some more things that we will have to take care of:
|
Addendum: creating the Docker image on ARM-based machines with the ERROR: Could not find a version that satisfies the requirement jaxlib==0.4.7; extra == "jax" (from pybamm[all,dev,docs,jax,odes]) (from versions: none)
ERROR: No matching distribution found for jaxlib==0.4.7; extra == "jax" and specifying the |
Co-Authored-By: Arjun <arjxn.py@gmail.com>
Co-Authored-By: Arjun <arjxn.py@gmail.com>
@arjxn-py, when you have time – let me know if we can look at this task together: "Push DockerHub images on releases, starting from either 23.9 or 24.1" before the on:
release:
types: [published] to the workflow and add a tag that contains the version number in the "Build and push Docker image" job step. In my opinion, publishing just the IDAKLU image would be fine—installing |
Yes definitely, I was also going to pick it up. Just that a bit busy with some difficult end sem exams😅, hopefully I'll be up on this weekend |
Hey @agriyakhetarpal, I think i shall open up a new PR to keep it clean from my fork, you have push access so we can look into it together. Let me know accordingly. |
Happy to start doing it together |
Co-Authored-By: Arjun <arjxn.py@gmail.com>
Co-Authored-By: Arjun <arjxn.py@gmail.com>
A placeholder issue for marking a list of tasks to be done for the current Docker images established in #3223.
--platform linux/x86_64
command-line flaggit
configuration, setting agit
remote,document the addition or configuration of SSH and GPG keys, and other credentials) (tracked by Add documentation for using git inside docker container #3364)matplotlib
plots for examples that use QuickPlot and similar by either switching to a TKAgg backend in the code, via amatplotlibrc
file, or otherwise document this change in an FAQ or Troubleshooting sectionapt
dependencies and do other tasks inside the container (Added pybamm user id to 1000 and set its group to root #3947)develop
branch, such that those who pull the image from DockerHub will always have the latest changes and would not have to dogit pull
every time. We can refer to PyHF's workflows for this. (tracked by Create CI to build & push PyBaMM's Docker Images #3316)Add a parallel job to run the entire test suite inside the Docker container in the scheduled tests workflow (or can be done alongside the previous point too in a separate workflow file. The push to DockerHub will not get triggered if any changes failnox -s docs
/sphinx-autobuild
pandoc
andgraphviz
(required for the rendering of Jupyter notebooks and inheritance diagrams in the built documentation). Withapt
, users might get an older version ofpandoc
so we can try getting it fromconda-forge
. (tracked by Add and update dependencies for Docker images #3317)The text was updated successfully, but these errors were encountered: