For Docker (Alpine) and Python 3.x this worked for me:
RUN apk update
RUN apk add make automake gcc g++ subversion python3-dev
For Docker (Alpine) and Python 3.x this worked for me:
RUN apk update
RUN apk add make automake gcc g++ subversion python3-dev