-
Notifications
You must be signed in to change notification settings - Fork 128
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
Update docker recipe to install from source #1651
Conversation
…to update_docker
…to update_docker
Can not be merge until ESMValGroup/ESMValCore#603 is merged |
ESMValGroup/ESMValCore#603 has now been merged. |
docker/Dockerfile.dev
Outdated
|
||
RUN conda update -y conda pip && conda env update --name base --file environment.yml && conda clean --all -y | ||
RUN pip install . && pip cache purge | ||
RUN apt install julia -y && julia esmvaltool/install/Julia/setup.jl |
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.
To fix the julia diagnostics, I think you need to run the installed version of the setup.jl script here, not the one from the source code. Or install the tool in editable mode with pip -e
.
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.
Can you test again, please?
The key to reduce the image size is to properly set the .dockerignore file, but I'm struggling with it |
It works with -e option... |
Co-authored-by: Bouwe Andela <[email protected]>
* Update docker files * Add esmvaltool install command * Upload coverage for regular unit tests Co-authored-by: Bouwe Andela <[email protected]>
Before you start, read CONTRIBUTING.md and the guide for diagnostic developers.
Please discuss your idea with the development team before getting started, to avoid disappointment later. The way to do this is to open a new issue on GitHub. If you are planning to modify an existing functionality, please discuss it with the original author(s) by tagging them in the issue.
Tasks
yamllint
to check that your YAML files do not contain mistakesIf you need help with any of the tasks above, please do not hesitate to ask by commenting in the issue or pull request.
Closes #1579