Hi,
Trying to write a simple local addon for hassio.
My docker file is:
ARG BUILD_FROM
FROM $BUILD_FROM
ENV LANG C.UTF-8
COPY rootfs /
RUN apk add --no-cache \
jq \
py-pip \
python \
python-dev
RUN pip install -U pip
RUN pip install -U requests
RUN pip install -U netaddr
RUN pip install -U broadlink
RUN chmod a+x /usr/bin/run.sh
CMD [ "/usr/bin/run.sh" ]
(I separated the pip installs to different lines to detect which one is failing).
I am getting the following error in the logs:
18-02-21 13:19:03 ERROR (SyncWorker_16) [hassio.docker.addon] Can't build local/armhf-addon-moti_utils:0.1: The command '/bin/sh -c pip install -U broadlink' returned a non-zero code: 1
How do I know what’s failing there?
Are there any debug level logs or a way to run this command in a shell?
Thanks
Moti