Sign inSign up

quintg/gpiobase

By quintg

•Updated over 7 years ago

raspberry image including rpi.gpio

Image
0

1.4K

quintg/gpiobase repository overview

Base image with python 2.7 and gpiozero installed Ready to go tinkering NOTE the wiringPi library is not included. GPIO is only exposed through python scripts Remember to run with --privileged flag

links https://www.raspberrypi.org/blog/gpio-zero-a-friendly-python-api-for-physical-computing/⁠ https://gpiozero.readthedocs.io/en/v1.3.1/⁠

use case : base for new images or base to do some minor development testing

rebuild

   added : 
       • tree
  with pip :
       • paho-mqtt

first draft
   the following packages installed : 
       • ca-certificates 
       • curl 
       • gcc 
       • make 
       • nano 
       • python 
       • python-pip 
       • python-dev 
       • python-pip 
       • ssh

from pip :  
       • RPi.GPIO 
       • gpiozero 

------------------------------------------------------------------
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Dockerfile
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
------------------------------------------------------------------
FROM resin/rpi-raspbian

MAINTAINER Quint Gijsbers <[email protected]>

RUN apt-get update && apt-get install \
   ca-certificates  curl gcc  make nano \
   python python-pip python-dev  python-pip \
   ssh tree

RUN pip install RPi.GPIO gpiozero paho-mqtt
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

v2.2 (latest)
added empty folder : /etc/container

Tag summary

Content type

Image

Digest

Size

149.8 MB

Last updated

almost 9 years ago

docker pull quintg/gpiobase