netifaces
netifaces copied to clipboard
Installing netifaces in a container | Working receipe for alpine
Had some trouble pip installing netifaces inside a container. Got it working with this dockerfile
FROM python:3.7-alpine
RUN apk add build-base python3-dev linux-headers
RUN pip install --upgrade pip
RUN pip install pipenv
RUN pip install netifaces
- I've stripped unnecessary steps from the file for the sake of documenting this issue.