Skip to content

Instantly share code, notes, and snippets.

@souri-t
Created May 20, 2018 18:05
Show Gist options
  • Save souri-t/728a631761cf2185e333b24e12776466 to your computer and use it in GitHub Desktop.
Save souri-t/728a631761cf2185e333b24e12776466 to your computer and use it in GitHub Desktop.
GPIO installed raspbian image
FROM resin/rpi-raspbian:jessie
MAINTAINER souri-t <souri-t@github.com>
# Install dependencies
RUN apt-get update -y
RUN apt-get install -y --no-install-recommends python3-pip python3-dev gcc nano
RUN pip3 install rpi.gpio
# Define working directory
WORKDIR /data
VOLUME /data
CMD ["/bin/bash"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment