-
-
Notifications
You must be signed in to change notification settings - Fork 654
Closed
Milestone
Description
#29053 added tox.ini
to support testing the sage distribution in isolated environments via docker.
In 9.1.beta6, the generated docker files do not work due to #21785.
This ticket fixes it and also adds linux environments for various other architectures supported by docker (see https://github.com/docker-library/official-images#architectures-other-than-amd64).
Examples:
$ tox -e docker-debian-buster-standard-i386
$ tox -e docker-ubuntu-bionic-standard-arm64
$ tox -e docker-ubuntu-bionic-minimal-armhf
$ tox -e docker-fedora-31-standard-arm64v8 # Docker for Mac only
$ tox -e docker-ubuntu-latest-standard-s390x # Docker for Mac only
(The last two work with macOS Docker Desktop because it has binfmt_misc
with qemu
enabled.)
See also: https://trac.sagemath.org/wiki/ExoticPorts
Resources:
- How to Build and Run ARM Docker Containers on x86 Hosts · MatchboxBlog - https://matchboxdorry.gitbooks.io/matchboxblog/content/blogs/build_and_run_arm_images.html
- Cross Building and Running Multi-Arch Docker Images – Micheal Waltz – DevOps Engineer - https://www.ecliptik.com/Cross-Building-and-Running-Multi-Arch-Docker-Images/
- multiarch/qemu-user-static - Docker Hub - https://hub.docker.com/r/multiarch/qemu-user-static/
- multiarch/ubuntu-core - Docker Hub - https://hub.docker.com/r/multiarch/ubuntu-core/
CC: @vbraun @sagetrac-tmonteil @kiwifb @dimpase
Component: porting
Author: Matthias Koeppe
Branch/Commit: 7f122bd
Reviewer: Volker Braun
Issue created by migration from https://trac.sagemath.org/ticket/29143