I’m tring to install an addon, on my HA 0.93.2 on Hass.IO on a Raspberry Pi B+ 64bit, that needs to install pm2, the Dockerfile looks like this:
ARG BUILD_FROM
FROM $BUILD_FROM
USER root
ENV LANG C.UTF-8
RUN apk add --no-cache nodejs nodejs-npm
RUN npm install pm2 -g
COPY run.sh /
RUN chmod a+x /run.sh
CMD [ "/run.sh" ]
During install addon process I get this error:
19-06-03 20:48:36 ERROR (SyncWorker_5) [hassio.docker.addon] Can't build 35b57faa/aarch64-addon-test_addon:0.0.4: The command '/bin/ash -o pipefail -c npm install pm2 -g' returned a non-zero code: 7
Does anyone have an idea of what is going on?
I googled for hours but I can’t find any solution or idea.
Thank Marco