conda-forge / docker-images

Repository to host the Docker images files used in conda-forge
https://hub.docker.com/u/condaforge/
BSD 3-Clause "New" or "Revised" License
46 stars 50 forks source link
docker hacktoberfest

CI

docker-images

Repository to host the Docker images files used in conda-forge

Building and testing locally

It can be useful to build and test these images locally. For many images this can be done by running docker build from the root-level of this repo and passing in the path to the Dockerfile that you wish to build. For example:

docker build --rm --build-arg DISTRO_NAME=centos --build-arg DISTRO_VER=6 -f linux-anvil-comp7/Dockerfile .

However, certain images, such as those building CUDA, will need to have environment variables passed in to be able to build. In this case, you will want to use a command similar to the following:

docker build --rm --build-arg DISTRO_NAME=centos --build-arg DISTRO_VER=6 --build-arg CUDA_VER=11.8.0 -f linux-anvil-cuda/Dockerfile .

Environment variables