1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-23 01:39:27 +02:00
dockerfiles/oled-arm/Dockerfile

35 lines
999 B
Docker
Raw Normal View History

2017-05-29 05:04:06 +02:00
#
2017-05-29 05:55:32 +02:00
# Dockerfile for oled-arm
2017-05-29 05:04:06 +02:00
#
FROM easypi/alpine-arm
MAINTAINER EasyPi Software Foundation
RUN set -xe \
&& apk add --no-cache build-base \
curl \
linux-headers \
python \
python-dev \
freetype \
freetype-dev \
jpeg \
jpeg-dev \
&& curl https://bootstrap.pypa.io/get-pip.py | python \
&& pip install luma.oled \
&& apk del --purge build-base \
curl \
linux-headers \
python-dev \
freetype-dev \
jpeg-dev
2017-05-29 05:55:32 +02:00
WORKDIR /code
RUN set -xe \
&& apk add --no-cache curl tar \
&& curl -sSL https://github.com/rm-hull/luma.examples/archive/master.tar.gz | tar xz --strip 2 luma.examples-master/examples \
&& apk del --purge curl tar
2017-05-29 05:04:06 +02:00
ENTRYPOINT ["python"]