getting a Make [build] Error #2.
Does Dockerfile allow cd /root/rpi-led-rgb-matrix? Or do you need a WORKDIR declaration?
What needs to be in the /root/rpi-led-rgb-matrix folder?
/bin/sh: cd: line 1: can't cd to /home/pi/rpi-rgb-led-matrix
...HARDWARE_DESC=adafruit-hat-pwm make install-python' returned a non-zero code: 2
Makefile:57: recipe for target 'build' failed
make: *** [build] Error 2
Source Dockerfile:
COPY files/ /
RUN apk update && \
apk add --no-cache python py-paho-mqtt py-pillow libstdc++ make rsync g++ \
ttf-freefont ttf-opensans ttf-dejavu ttf-inconsolata ttf-ubuntu-font-family ttf-droid ttf-liberation ttf-linux-libertine \
graphicsmagick-dev zlib-dev freetype-dev mosquitto-dev python-dev json-c-dev python2-dev && \
cd /root/rpi-rgb-led-matrix && \
HARDWARE_DESC=adafruit-hat-pwm make && \
mkdir -p /usr/local/include/rgbmatrix && \
cp include/* /usr/local/include/rgbmatrix && \
cp lib/librgbmatrix.* /usr/local/lib && \
ln -s librgbmatrix.so.1 /usr/local/lib/librgbmatrix.so && \
HARDWARE_DESC=adafruit-hat-pwm make install-python
#mkdir -p /usr/local/share/fonts/rgbmatrix && \
#cp fonts/* /usr/local/share/fonts/rgbmatrix
# ttf-cantarell ttf-font-awesome ttf-mononoki
WORKDIR /root
Thank you for your help.
Climy
getting a Make [build] Error #2.
Does Dockerfile allow cd /root/rpi-led-rgb-matrix? Or do you need a WORKDIR declaration?
What needs to be in the /root/rpi-led-rgb-matrix folder?
/bin/sh: cd: line 1: can't cd to /home/pi/rpi-rgb-led-matrix
...HARDWARE_DESC=adafruit-hat-pwm make install-python' returned a non-zero code: 2
Makefile:57: recipe for target 'build' failed
make: *** [build] Error 2
Source Dockerfile:
Thank you for your help.
Climy