Need help: what's failing during my local addon installation?

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

Added another line before broadlink:

pip install pycrypto==2.6.1

And getting the same error for pycrypto.
I guess it’s something about that.

Maybe an error building it?

I am having some issues of updating my local Addons. just wondering where did you grab the log? I couldn’t find it anywhere. Thanks.

To be honest, too long has passed, I actually don’t remember what I did there :expressionless:
It took lots of time and trial and error to find out how this should work. I ended up with some limited functionality. Don’t have the dev env anymore so can’t even play with it to see if I can find the log path. Sorry.

Maybe someone else who reads this thread can help with the logs location?