I’m building a docker container that has some dependencies which require gcc.
My dockerfile contains the following line to install gcc:
RUN apk add --no-cache gcc musl-dev git python-dev hiredis-dev
However, while installing packages using pip, it fails with the above error.
Also - when I try building the docker container on my local machine, it works fine.
Has anybody come across this issue?