Skip to content

Instantly share code, notes, and snippets.

@andrewp-as-is
Created January 16, 2024 08:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save andrewp-as-is/c8aed8550a9fc864884c4cd23aff5308 to your computer and use it in GitHub Desktop.
Save andrewp-as-is/c8aed8550a9fc864884c4cd23aff5308 to your computer and use it in GitHub Desktop.
Docker alpine pycurl
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