| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354 |
- #~ FROM resin/rpi-raspbian:jessie-20170531
- FROM arm32v7/debian:buster-slim
- # Set the variables
- ENV DEBIAN_FRONTEND noninteractive
- WORKDIR /root
- # Install packages necessary for compiling python
- RUN apt-get update && apt-get install -y \
- build-essential \
- libncursesw5-dev \
- libgdbm-dev \
- libc6-dev \
- zlib1g-dev \
- libsqlite3-dev \
- tk-dev \
- libssl-dev \
- openssl \
- curl \
- vim \
- git \
- mc \
- htop \
- python \
- python-dev \
- python-pip \
- libncurses5-dev \
- python-pillow
- #~ RUN echo "Europe/Berlin" > /etc/timezone
- #~ RUN dpkg-reconfigure -f noninteractive tzdata
- # Update pip and install jupyter
- #~ RUN pip install --upgrade pip
- #~ RUN pip install path.py requests
- # this version will be used by matrix python bindings
- RUN pyversions -d
- RUN git clone https://github.com/hzeller/rpi-rgb-led-matrix.git /matrix
- WORKDIR /matrix
- # RUN sed -i "s/=regular/=adafruit-hat-pwm/g" lib/Makefile
- # for C++-demos
- RUN make -C examples-api-use
- # for python interface
- RUN cd bindings/python && make build-python install-python
- #~ COPY _ctx/pixel /app
- # CMD python -u /app/pixelreceiver.py > /pixel/receive.log
- CMD /bin/bash -c "sleep 100000"
|