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.
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?