From f2540e6de189b7e971ec2021cb93b4a4cf5f33c6 Mon Sep 17 00:00:00 2001 From: EGI-ILM Date: Fri, 8 Mar 2024 11:50:47 +0100 Subject: [PATCH] Created CriticalZone image. See #27003 --- single-user-criticalzone/Dockerfile | 122 +++------------------------- 1 file changed, 10 insertions(+), 112 deletions(-) diff --git a/single-user-criticalzone/Dockerfile b/single-user-criticalzone/Dockerfile index 07b91f9e..1bd619ca 100644 --- a/single-user-criticalzone/Dockerfile +++ b/single-user-criticalzone/Dockerfile @@ -1,14 +1,7 @@ -# _____ ____ _ _____ _ -# / ____| | _ \(_) | __ \ | | _ _ -# | (___ ___ | |_) |_ __ _| | | | __ _| |_ __ _ _| |_ _| |_ -# \___ \ / _ \| _ <| |/ _` | | | |/ _` | __/ _` |_ _|_ _| -# ____) | (_) | |_) | | (_| | |__| | (_| | || (_| | |_| |_| -# |_____/ \___/|____/|_|\__, |_____/ \__,_|\__\__,_| -# __/ | -# |___/ +# CriticalZone + ARG BASE_IMAGE=eginotebooks/d4science-base:latest -# hadolint ignore=DL3006 FROM $BASE_IMAGE USER root @@ -24,110 +17,15 @@ RUN apt-get update \ 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 + xarray \ + rioxarray \ + netCDF4 \ + pandas \ + scipy \ + matplotlib \ + gdal \ + h5netcdf # ------------------------------- # JupyterLab extensions