Skip to content

Latest commit

 

History

History
30 lines (19 loc) · 921 Bytes

File metadata and controls

30 lines (19 loc) · 921 Bytes

rpi-docker-python-gpio

Docker Image for Running Python Applications on Raspberry Pi: Specifically designed to handle GPIO pin manipulation, this image provides an efficient environment for deploying and testing Python-based applications that interact ith the Raspberry Pi's hardware. Ideal for developers looking to containerize their GPIO-driven projects.

Docker image: jfig/rpi-docker-python-gpio

Github repo: https://github.com/jfig/rpi-docker-python-gpio

Usage

docker run --device /dev/gpiomem  --group-add gpio  jfig/rpi-docker-python-gpio

On first execution /usr/src/scripts/entrypoint.sh is run to install python packages on packages.txt and remove gcc.

gcc is left on the Docker Image because some Python Images require it to install.

Environment Variables

APP

Name of the python application that is run by default on container startup.

Default: app.py