Docker images not building due to numpy compilation failure

Issue #868 resolved
Ed McDonagh created an issue

https://bitbucket.org/openrem/openrem/addon/pipelines/home#!/results/3419

Not sure why it is failing now and didn’t before. Might try making sure wheel is installed first. If that fails, we’ll either need to install the build tools or use the full fat python image and not the slim one.

https://stackoverflow.com/questions/63971185/unable-to-install-numpy-on-docker-python3-7-slim-in-a-raspberry-pi is similar, suggests:

RUN apt-get update && \
    apt-get install -y \
        build-essential \
        make \
        gcc \
    && pip install -r requirements.txt \
    && apt-get remove -y --purge make gcc build-essential \
    && apt-get autoremove -y \
    && rm -rf /var/lib/apt/lists/*

Not sure if suddenly Bitbucket are building on arm?

Comments (8)

  1. Log in to comment