Public | Automated Build

Last pushed: a year ago
Short Description
A docker environment for the ARMv7 platform with Miniconda w/ QEMU for emulation.
Full Description

Miniconda armv7 crossbuild

Image used to build linux-armv7 conda packages on x64 hardware.
It doesn't need to install qemu on the host, nor to have a kernel which support binfmt_misc.

This image integrate a modified version of qemu. For more informations on how to mimic the kernel support of binfmt_misc, look at this post or this one. The image is inspired by resin/armv7hf-debian-qemu.

The image provide minimal setup to build all conda recipies :

  • curl & wget & ca-certificates
  • git & subversion & mercurial
  • conda
  • conda-build

Run it on x86_64 hardware

Every commands are started throw qemu, so you have nothing to do :

docker run -it --rm smartag/miniconda-armv7 /bin/bash

Run it on ARM hardware

You have to override the entrypoint of qemu

docker run -it --rm --entrypoint=/bin/bash smartag/miniconda-armv7

Docker build based on this image

Wrap your build steps to taint the environment with qemu allowing building on x86_64.

RUN [ "cross-build-start" ]
RUN echo do buid steps here
RUN [ "cross-build-end" ]
Docker Pull Command
Source Repository