Skip to content

Commit

Permalink
27003 (#187)
Browse files Browse the repository at this point in the history
* Created CriticalZone image. See #27003

* Created CriticalZone image. See #27003

* Amendments for gdal
  • Loading branch information
EGI-ILM authored Mar 12, 2024
1 parent b78c34f commit 1431387
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/d4science-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ jobs:
"single-user-scientometrics-d4science/Dockerfile"
"single-user-sobigdata-lipari23/Dockerfile"
"single-user-sobigdata-aaai24/Dockerfile"
"single-user-criticalzone/Dockerfile"
base-image:
name: Build base image
Expand Down
40 changes: 40 additions & 0 deletions single-user-criticalzone/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# CriticalZone


ARG BASE_IMAGE=eginotebooks/base:latest
FROM $BASE_IMAGE

USER root

RUN apt-get update \
&& apt-get install --no-install-recommends -y \
nco \
cdo \
cmake \
gdal-bin \
g++ \
python3-gdal \
libgdal-dev \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*

USER $NB_UID

RUN pip install --no-cache-dir \
xarray \
rioxarray \
netCDF4 \
pandas \
scipy \
matplotlib \
numpy \
GDAL=="$(gdal-config --version).*" \
h5netcdf

#RUN conda install -c conda-forge gdal

# -------------------------------
# JupyterLab extensions
# -------------------------------
RUN pip install --no-cache-dir jupyterlab-topbar
RUN jupyter labextension disable @jupyterlab/filebrowser-extension:share-file

0 comments on commit 1431387

Please sign in to comment.