Skip to content
This repository has been archived by the owner on Jun 11, 2021. It is now read-only.

Installing netifaces in a container | Working receipe for alpine #67

Open
ChristianTremblay opened this issue Nov 6, 2020 · 0 comments

Comments

@ChristianTremblay
Copy link

ChristianTremblay commented Nov 6, 2020

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.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant