Skip to content

Docker image containing the dependencies for Nansat

License

Notifications You must be signed in to change notification settings

aperrin66/docker-nansat-base

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker-nansat-base

Docker image containing the dependencies for Nansat

Usage

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

Build

Upon release, this image is automatically built and pushed to the Docker Hub nansencenter/nansat_base repository.

Release tags should follow semantic versioning.

Two images are built:

  • the standard image is based on Anaconda. It makes it easy to maintain and relatively quick to build, but very big.

  • the slim image does not rely on Anaconda, which makes it necessary to compile GDAL in the dockerfile. It is much smaller than the standard image, but takes more time to build (around 20 minutes for a first build, much quicker after that if the GDAL stage is not modified).

About

Docker image containing the dependencies for Nansat

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Dockerfile 75.6%
  • Shell 24.4%