You've already forked dockerfiles
mirror of
https://github.com/vimagick/dockerfiles.git
synced 2025-08-10 22:31:28 +02:00
update oled-arm
This commit is contained in:
34
oled-arm/Dockerfile
Normal file
34
oled-arm/Dockerfile
Normal file
@@ -0,0 +1,34 @@
|
||||
#
|
||||
# Dockerfile for oled-arm
|
||||
#
|
||||
|
||||
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
|
||||
|
||||
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
|
||||
|
||||
ENTRYPOINT ["python"]
|
Reference in New Issue
Block a user