Based on anaconda-pkg-build, but without miniconda3 pre-installed. This allows testing of miniconda3/anaconda3/other installers including testing conda-build.
docker build -f ubuntu.Dockerfile -t anaconda-base/ubuntu2004 .
docker build -f defaults.Dockerfile -t anaconda-base/defaults .
docker run -it --rm anaconda-base/ubuntu2004
docker run -it --rm anaconda-base/defaults
The images can also be used with Dockers platform emulation via qemu:
- Required once to enable cross-platform emulation:
docker run --privileged --rm tonistiigi/binfmt --install all
- Building/running with the
--platform
arg:docker build --platform linux/s390x -f ubuntu.Dockerfile -t anaconda-base/ubuntu2004
docker run --platform linux/s390x -it --rm anaconda-base/ubuntu2004