Skip to content

Instantly share code, notes, and snippets.

View souri-t's full-sized avatar

HIYOSHI YOSUKE(Andy) souri-t

View GitHub Profile
@souri-t
souri-t / Dockerfile
Last active January 31, 2019 12:42
php7.0-fpm-alpine-pi
FROM resin/raspberry-pi-alpine:latest
# dependencies required for running "phpize"
# these get automatically installed and removed by "docker-php-ext-*" (unless they're already installed)
ENV PHPIZE_DEPS \
autoconf \
dpkg-dev dpkg \
file \
g++ \
gcc \
@souri-t
souri-t / Dockerfile
Created May 22, 2018 16:32
WiringPi on alpine image by Docker
FROM armhf/alpine:latest
MAINTAINER souri-t <[email protected]>
# Install dependencies
RUN apk update
RUN apk add python3 python3-dev musl-dev gcc
RUN pip3 install --upgrade pip
RUN pip3 install rpi.gpio
RUN apk add wiringpi
@souri-t
souri-t / Dockerfile
Created May 20, 2018 18:05
GPIO installed raspbian image
FROM resin/rpi-raspbian:jessie
MAINTAINER souri-t <[email protected]>
# 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