Created
January 16, 2024 08:18
-
-
Save andrewp-as-is/c8aed8550a9fc864884c4cd23aff5308 to your computer and use it in GitHub Desktop.
Docker alpine pycurl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM python:3.7-alpine | |
RUN apk add --no-cache libcurl | |
ENV PYCURL_SSL_LIBRARY=openssl | |
RUN apk add --no-cache --virtual .build-deps build-base curl-dev \ | |
&& pip install pycurl \ | |
&& apk del --no-cache --purge .build-deps \ | |
&& rm -rf /var/cache/apk/* |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment