-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Created CriticalZone image. See #27003
- Loading branch information
Showing
2 changed files
with
138 additions
and
0 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,136 @@ | ||
# _____ ____ _ _____ _ | ||
# / ____| | _ \(_) | __ \ | | _ _ | ||
# | (___ ___ | |_) |_ __ _| | | | __ _| |_ __ _ _| |_ _| |_ | ||
# \___ \ / _ \| _ <| |/ _` | | | |/ _` | __/ _` |_ _|_ _| | ||
# ____) | (_) | |_) | | (_| | |__| | (_| | || (_| | |_| |_| | ||
# |_____/ \___/|____/|_|\__, |_____/ \__,_|\__\__,_| | ||
# __/ | | ||
# |___/ | ||
|
||
ARG BASE_IMAGE=eginotebooks/d4science-base:latest | ||
# hadolint ignore=DL3006 | ||
FROM $BASE_IMAGE | ||
|
||
USER root | ||
|
||
RUN apt-get update \ | ||
&& apt-get install --no-install-recommends -y \ | ||
nco \ | ||
cdo \ | ||
cmake \ | ||
g++ \ | ||
&& apt-get clean \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
|
||
USER $NB_UID | ||
|
||
ARG SKLEARN_ALLOW_DEPRECATED_SKLEARN_PACKAGE_INSTALL=True | ||
|
||
RUN mamba install -y --quiet \ | ||
basemap \ | ||
beakerx \ | ||
xgboost \ | ||
lightgbm \ | ||
catboost \ | ||
netcdf4 \ | ||
aiohttp \ | ||
graph-tool \ | ||
scikit-learn \ | ||
scikit-mobility \ | ||
dask-jobqueue \ | ||
fs \ | ||
rasterio \ | ||
contextily \ | ||
nb_conda_kernels \ | ||
nb_conda \ | ||
&& conda clean -tipy | ||
|
||
# Pinned networkx to 2.6.3 as 2.7 makes networksns fail | ||
RUN pip install --no-cache-dir \ | ||
bicm \ | ||
rdp \ | ||
sentinelhub \ | ||
import_ipynb \ | ||
nbresuse \ | ||
ndlib \ | ||
motuclient \ | ||
panel==0.9.* \ | ||
cdlib[C]==0.2.3 \ | ||
cython \ | ||
node_conformity \ | ||
git+https://github.com/geopython/OWSLib.git \ | ||
git+https://github.com/guglielmocola/RetweetCascade.git \ | ||
fast-forward-indexes \ | ||
NEMtropy \ | ||
folium==0.11.0 \ | ||
geopy==2.0.0 \ | ||
hvplot==0.6.0 \ | ||
intake==0.6.0 \ | ||
intake-esm==2020.8.15 \ | ||
hda \ | ||
seaborn==0.11.0 \ | ||
zarr==2.5.0 \ | ||
holoviews \ | ||
networkx==2.6.3 \ | ||
networksns \ | ||
eventclf \ | ||
XAI-Library \ | ||
convrewriting \ | ||
git+https://github.com/guglielmocola/TwitterMonitorLib_v2.git \ | ||
pygm \ | ||
structify-net | ||
|
||
# ------------------------------- | ||
# SoBigData ++ specific libraries | ||
# ------------------------------- | ||
RUN mamba install -y --quiet \ | ||
pyspark \ | ||
transformers \ | ||
rtree \ | ||
geopandas \ | ||
nltk \ | ||
pydotplus \ | ||
plotly \ | ||
graphviz \ | ||
keras \ | ||
selenium \ | ||
tweepy \ | ||
openjdk=8 \ | ||
&& conda clean --all | ||
|
||
RUN pip install --no-cache-dir \ | ||
torch \ | ||
torchvision \ | ||
torchaudio \ | ||
--index-url https://download.pytorch.org/whl/cpu | ||
|
||
RUN pip install --no-cache-dir \ | ||
pyfim \ | ||
pyclustering \ | ||
import_ipynb \ | ||
opencv-python \ | ||
simpletransformers \ | ||
shuffle-graph \ | ||
privlib \ | ||
ash_model \ | ||
cdlib==0.3.0 \ | ||
bayanpy \ | ||
dynetx==0.3.2 \ | ||
geolet \ | ||
triplex \ | ||
glocalx \ | ||
cliqs \ | ||
quantum-distance-based-classifier \ | ||
demv | ||
|
||
RUN pip install --no-cache-dir \ | ||
-i https://test.pypi.org/pypi/ \ | ||
--extra-index-url https://pypi.org/simple \ | ||
anonymization-crisesURV \ | ||
antiDiscrimination-crisesURV | ||
|
||
# ------------------------------- | ||
# JupyterLab extensions | ||
# ------------------------------- | ||
RUN pip install --no-cache-dir jupyterlab-topbar | ||
RUN jupyter labextension disable @jupyterlab/filebrowser-extension:share-file |