ARG BUILD_FROM
FROM $BUILD_FROM
ENV LANG C.UTF-8
RUN apk add --no-cache musl i2c-tools
COPY run.sh /
RUN chmod a+x /run.sh
CMD [ "/run.sh" ]
Unfortunately, it doesn’t install. There’s error: ERROR (SyncWorker_0) [hassio.docker.addon] Can't build local/armhf-addon-i2c_addon:1: The command '/bin/sh -c apk add --no-cache musl i2c-tools' returned a non-zero code: 1
When I left only musl without i2c-tools then it installs without problems.
Where can I check what exactly goes wrong?
At the time of this post, it can be installed by current repository. But I could not manage to make it work. running “sudo i2cdetect -y 1” gives permission denied with docker.