Last active
July 10, 2019 14:45
-
-
Save beyoung/48c3af0f72e3a471d5eb768111a83c3d to your computer and use it in GitHub Desktop.
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.6-alpine | |
ENV CFLAGS="$CFLAGS -L/lib" | |
ENV PYTHONUNBUFFERED 0 | |
RUN apk update \ | |
&& apk upgrade \ | |
&& apk add --update-cache --repository http://dl-3.alpinelinux.org/alpine/edge/testing/ \ | |
--virtual build-deps g++ gcc python3-dev musl-dev binutils \ | |
postgresql-dev libpq mariadb-dev \ | |
linux-headers libffi-dev openssl-dev zlib-dev freetype-dev lcms2-dev \ | |
jpeg-dev openjpeg-dev \ | |
tzdata proj gdal geos | |
RUN ln -s /usr/lib/libgeos_c.so.1 /usr/local/lib/libgeos_c.so | |
RUN ln -s /usr/lib/libgdal.so.20.* /usr/lib/libgdal.so |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment