Skip to content

acencini/rpi-python-serial-wiringpi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 

Repository files navigation

rpi-python-serial-wiringpi

Raspberry Pi compatible Docker base image with Python, C, serial support (pyserial) and GPIO support (wiringpi2, libwiringpi) preinstalled. Adapted from Hypriot's rpi-python.

rpi-python-serial-wiringpi at DockerHub

HypriotOS

Run all the commands from within the project root directory.

Build the Docker Image

From within the same directory as Dockerfile:

docker build -t <YOUR_IMAGE_HERE> .

Run the Image in HypriotOS with Docker (interactively)

Replace YOUR_IMAGE_HERE with image name (acencini/rpi-python-serial-wiringpi if getting from DockerHub) that you created.

docker run --device /dev/mem:/dev/mem --device /dev/ttyAMA0:/dev/ttyAMA0 --privileged -ti YOUR_IMAGE_HERE /bin/bash

MIT Licensed

About

Docker Image for Raspberry Pi/Hypriot with Pyserial and WiringPi support.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •