Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletions binder/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# Inherit from a JupyterHub compatible Docker image
FROM quay.io/jupyter/base-notebook:2025-09-08

RUN echo ${NB_UID}
# Add conda packages
COPY binder/environment.yml /tmp/environment.yml
RUN mamba env update --prefix ${CONDA_DIR} --file /tmp/environment.yml

COPY binder/apt.txt /tmp/apt.txt

USER root

RUN apt-get update && \
xargs -a /tmp/apt.txt apt install -y && \
apt-get autoremove -y && \
apt-get autoclean && \
rm -rf /var/lib/apt/lists/* && \
rm /tmp/apt.txt

# Install quarto
USER root
RUN wget -q https://github.com/quarto-dev/quarto-cli/releases/download/v1.5.57/quarto-1.5.57-linux-amd64.deb
RUN dpkg -i quarto-1.5.57-linux-amd64.deb

RUN curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip" && \
unzip awscliv2.zip && \
./aws/install

USER ${NB_UID}

9 changes: 9 additions & 0 deletions binder/apt.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
binutils
htop
tree
tar
zip
unzip
less
nano
vim
55 changes: 55 additions & 0 deletions binder/environment.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
name: base-env
channels:
- conda-forge
- nodefaults
dependencies:
# Workshop dependencies
- python>=3.11
- jupyter>=1.1.1,<2
- rasterio>=1.4.3,<2
- rioxarray
- xarray=2025.09.0
- virtualizarr=2.1.2
- zarr=3.1.2
- ipykernel>=6.29.5,<7
- pip>=25.1.1,<26
- icechunk>=1.0.0,<2
- h5py>=3.14.0,<4
- earthaccess>=0.12.0,<0.13
- cftime>=1.6.4,<2
- jupyterlab>=4.4.6,<5
- xstac>=1.2.0,<2
- shapely>=2.1.1,<3
- rustac>=0.8.1,<0.9
# For development
- wget
- curl
- gcc
- make
- memray
- jupyter
- pip
- pipx
- uv
- pixi
- pre-commit
- pytest
- pytest-cov
- pytest-env
- pytest-xdist
- pytest-timeout
# For development on the Hub
- git
- gh
- code-server
- jupyter-resource-usage
- jupyter-vscode-proxy
- openssh
# For building the quarto book
- jupytext
- pip:
# For development on the Hub
- gh-scoped-creds
- jupyter-sshd-proxy
- jupyterlab-bxplorer

Loading