Skip to content

Commit

Permalink
Created CriticalZone image. See #27003
Browse files Browse the repository at this point in the history
  • Loading branch information
EGI-ILM committed Mar 8, 2024
1 parent 0fbcc9e commit f2540e6
Showing 1 changed file with 10 additions and 112 deletions.
122 changes: 10 additions & 112 deletions single-user-criticalzone/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,14 +1,7 @@
# _____ ____ _ _____ _
# / ____| | _ \(_) | __ \ | | _ _
# | (___ ___ | |_) |_ __ _| | | | __ _| |_ __ _ _| |_ _| |_
# \___ \ / _ \| _ <| |/ _` | | | |/ _` | __/ _` |_ _|_ _|
# ____) | (_) | |_) | | (_| | |__| | (_| | || (_| | |_| |_|
# |_____/ \___/|____/|_|\__, |_____/ \__,_|\__\__,_|
# __/ |
# |___/
# CriticalZone


ARG BASE_IMAGE=eginotebooks/d4science-base:latest
# hadolint ignore=DL3006
FROM $BASE_IMAGE

USER root
Expand All @@ -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
Expand Down

0 comments on commit f2540e6

Please sign in to comment.