Sign inSign up

buildraspi3onx86/python

By buildraspi3onx86

Updated over 8 years ago

Speedup your raspberry pi 3 builds by building them on x86_64

Image
0

10K+

buildraspi3onx86/python repository overview

This image takes the official python images and adds qemu-arm-static binaries. That way you can build the your applications on a fast standard x86_64 system and then run them on a raspberry pi. This can really improve build times.

Run this on your fast x86_64 workstation:

apt install qemu docker run --rm --privileged multiarch/qemu-user-static:register --reset

Create your Raspberry 3 build:

cat << EOF > Dockerfile FROM buildraspi3onx86/python:3.6 RUN pip install cqlsh ADD myapp.py CMD python myapp.py EOF

Build it on your fast workstation, travis-ci, gitlabci:

docker build -t myuser/myapp . docker push myuser/myapp

Run the app on your raspi:

docker run -d myuser/myapp

Tag summary

Content type

Image

Digest

Size

240.1 MB

Last updated

over 8 years ago

docker pull buildraspi3onx86/python