Skip to content

Instantly share code, notes, and snippets.

Dockerfile

FROM lambci/lambda:build-python3.6

# Install python module needed for gdal and rasterio
RUN yum update -y && yum clean all
RUN yum install -y yum-plugin-ovl || true
RUN pip3 install cython numpy --no-binary numpy

# Install apt dependencies fro GDAL and drivers

RUN yum install -y libjpeg-devel zlib-devel libpng-devel libcurl-devel \