Skip to content

rmax/alpine-dask-docker

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Alpine Dask Docker Images

Note: This fork updates the packages to latest version up to this date.

Here we provide a few Docker images for running Dask on Alpine Linux. These are designed to be as small as possible while still providing a good user experience.

Three images are provided:

  • rmaxio/alpine-conda alpine-conda

    A base image with miniconda installed.

  • rmaxio/alpine-dask alpine-dask

    An image for running both the dask schedulers and workers.

  • rmaxio/alpine-dask-notebook alpine-dask-notebook

    An image with all of the above, as well as Jupyter Notebook and JupyterLab installed.

These images can be used as is, or extended with additional packages by using them as a base image:

FROM rmaxio/alpine-dask:latest

# Add scikit-learn and numba, and cleanup afterwards
RUN /opt/conda/bin/conda install --freeze-installed -y \
        scikit-learn \
        numba \
    && /opt/conda/bin/conda clean -afy \
    && find /opt/conda/ -follow -type f -name '*.a' -delete \
    && find /opt/conda/ -follow -type f -name '*.pyc' -delete

Alternatively, additional packages can be installed at runtime via the EXTRA_CONDA_PACKAGES/EXTRA_PIP_PACKAGES environment variables:

$ docker run -e "EXTRA_CONDA_PACKAGES=scikit-learn numba" rmaxio/alpine-dask dask-scheduler

These images should be drop-in usable with the existing Dask Helm Chart, with the benefit of being much smaller images.

About

Tiny Dask Docker images based on Alpine Linux

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Dockerfile 70.9%
  • Makefile 21.2%
  • Shell 5.8%
  • Python 2.1%