Created
August 7, 2019 12:06
-
-
Save meggart/b8c93a9efc96037b6382d3b046b65c1a to your computer and use it in GitHub Desktop.
This file contains 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
FROM jupyter/datascience-notebook:eb149a8c333a | |
MAINTAINER dev@brockmann-consult.de | |
LABEL version='0.6.1' | |
USER root | |
RUN sudo apt-get update && sudo apt-get upgrade -y | |
RUN sudo apt-get install -y git unzip apt-utils vim | |
ADD start.sh /usr/local/bin/start.sh | |
USER $NB_USER | |
RUN conda install --quiet --yes -c pytorch -c bc-dev -c conda-forge\ | |
cudatoolkit=9.0 \ | |
geopandas \ | |
# widgetsnbextension \ | |
rasterio \ | |
xarray \ | |
zarr \ | |
gridtools \ | |
basemap \ | |
ffmpeg \ | |
netcdf4 \ | |
pyproj \ | |
datashader \ | |
regionmask \ | |
cartopy \ | |
pysheds \ | |
pytorch \ | |
torchvision \ | |
tensorflow \ | |
s3fs \ | |
r-rgdal \ | |
r-rgeos | |
RUN conda list | |
RUN pip install git+https://github.com/esa-esdl/esdl-core.git | |
WORKDIR /home/jovyan/work | |
RUN julia -e 'using Pkg; pkg"rm Gadfly"; pkg"update"; pkg"precompile"; ' | |
RUN julia -e 'using Pkg; pkg"add JSON"; pkg"precompile"' | |
RUN julia -e 'using Pkg;pkg"add WebIO ColorTypes MultivariateStats PackageCompiler ProgressMeter GR ECharts PyPlot CSV";pkg"build WebIO";pkg"precompile"' | |
RUN julia -e 'using Pkg;pkg"add https://github.com/esa-esdl/ESDL.jl https://github.com/esa-esdl/ESDLPlots.jl"' | |
RUN julia -e 'using Pkg;pkg"add Zarr"' | |
RUN julia -e 'using Pkg;pkg"add MultivariateAnomalies#master";pkg"precompile"' | |
RUN julia -e 'using WebIO' | |
ENV ESDL_WORKDIR /home/jovyan/tmp | |
USER root | |
RUN apt-get -y install libcurl4-openssl-dev libssl-dev libgdal-dev libproj-dev | |
RUN R -e "install.packages(c('data.table'),repos='http://cran.us.r-project.org')" | |
RUN R -e "install.packages(c('ggplot2','raster','sp','zoo','rgdal','dplyr','vegan','ape','Rtsne','Rcpp','inline'),repos='http://cran.us.r-project.org')" | |
USER $NB_USER |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment