Skip to content

Image used to build linux-armv7 conda package on x64 hardware

License

Notifications You must be signed in to change notification settings

Smart-Ag/docker-miniconda-armv7

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

60 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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" ]

About

Image used to build linux-armv7 conda package on x64 hardware

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 53.8%
  • Makefile 46.2%