Docker image containing the dependencies for Nansat installed in an Anaconda environment.
This image is meant to be used as a base for building the nansat docker image, and for working on the nansat source code.
To use it to run nansat
from source, just mount your nansat
repository when you run the container, and specify the PYTHONPATH variable.
For example, this command enables you to run an interactive bash
shell inside the container, with nansat
source code properly configured. Of course, you need to replace <nansat_path>
with the path to your local nansat
repository.
docker run -it --rm -v "<nansat_path>:/src" -e 'PYTHONPATH=/src' nansencenter/nansat_base bash
Upon release, this image is automatically built and pushed to the Docker Hub nansencenter/nansat_base repository.
Release tags should follow semantic versioning.
Several versions of the image are built: one per Python version from 3.7 to 3.11.