netifaces icon indicating copy to clipboard operation
netifaces copied to clipboard

Installing netifaces in a container | Working receipe for alpine

Open ChristianTremblay opened this issue 3 years ago • 0 comments

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.

ChristianTremblay avatar Nov 06 '20 19:11 ChristianTremblay