Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Base Dockerfiles for testing on linux-{amd64, aarch64, s390x}

Based on anaconda-pkg-build, but without miniconda3 pre-installed. This allows testing of miniconda3/anaconda3/other installers including testing conda-build.

Build examples

docker build -f ubuntu.Dockerfile -t anaconda-base/ubuntu2004 .
docker build -f defaults.Dockerfile -t anaconda-base/defaults .

Run examples

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