[TOC]
Images publish here : https://hub.docker.com/r/pich02/python3-glibc2.24/tags
sudo apt-get install -y docker-ce
sudo apt-get install -y qemu qemu-user-static
sudo apt-get install -y binfmt-support
docker buildx create --use --name mybuilder
Add in your .docker/config.json
{
"experimental": "enabled"
}
Log to dockerhub :
docker login
Warning :
- first build of ARM image may take up to 2 hours
TAG=3.11.9
docker buildx build -t pich02/python3-glibc2.24:$TAG . -f python-build.dockerfile --progress=plain --platform=linux/amd64,linux/arm/v7,linux/arm64 --push
put scip-9.0.0.tgz source inside packages directory
TAG=9.0.0
sudo docker buildx build -t pich02/scip-multi-arch:$TAG . -f scip-build.dockerfile --progress=plain --platform=linux/amd64,linux/arm/v7,linux/arm64 --push
TAG=3.11.9
docker buildx build -t pich02/python3-glibc2.24:${TAG}-scip . -f python-scip.dockerfile --progress=plain --platform=linux/amd64,linux/arm/v7,linux/arm64 --push
Run an image :
docker run --name test-debug --entrypoint /bin/sleep pich02/python3-glibc2.24:3.11.9 infinity
Connect to it with :
docker exec -it $(docker ps -aqf "name=test-debug") /bin/bash
Docker build failed to "apt update"
check mtu
ip addr | grep mtu
mtu of enx3 and docker0 must be the same if not added :
{ "mtu": 1460 }
to /etc/docker/daemon.json