-
Notifications
You must be signed in to change notification settings - Fork 44
Update docker recipe #603
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
Merged
Merged
Update docker recipe #603
Changes from all commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
306d045
Update docker
82b33b9
Update docker to build from source
6332f45
Update dockerfile
37ed1f7
keep testing
9677ee5
Fix copy
e4301fe
Create dev environment
1187b35
Use dev image for tests
5479293
Update test config
4af3289
Merge branch 'master' of https://github.com/ESMValGroup/ESMValCore in…
ba999d8
Remove esmvalcore from dev container
e7a2c0b
Add -y to uninstall
8775c9c
Remove source
56cea07
Add clean to docker files
bb665b7
Add comment on how to build in dockerfiles
5dcd611
Add installation with docker in doc
83a2b7f
Update circleci
0bfc284
Fix doc
11ce28b
Update dev environment
1f616c1
Check if pip install .[develop] works with dependencies from environm…
bouweandela d62caa5
Use alpine based image
03e4823
use previous conda version
dece323
Update docker recipe
faa7cd3
Add singularity info
cdec592
Apply suggestions from code review
5c542cc
Add examples and more links
bouweandela 555c1e6
Remove outdated guide
bouweandela File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,20 @@ | ||
| # To build this container, go to ESMValCore root folder and execute : | ||
| # docker build -t ${TAG_OF_YOUR_CHOICE} . -f docker/Dockerfile.dev | ||
| FROM continuumio/miniconda3 | ||
|
|
||
| # update the conda packages | ||
| RUN conda update -y conda pip | ||
|
|
||
| # Copy source | ||
| COPY . /home/root/source | ||
| WORKDIR /home/root/source | ||
|
|
||
| # Install | ||
| RUN apt-get update | ||
| RUN conda env update --name base --file environment.yml | ||
| RUN pip install -e .[test] | ||
| RUN pip uninstall esmvalcore -y | ||
|
|
||
| # Clean up | ||
| RUN rm -r /home/root/source | ||
| RUN conda clean --all -y |
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.