diff --git a/Dockerfile b/Dockerfile index 2e764cd5..85113739 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,10 +1,9 @@ -FROM ghcr.io/osgeo/gdal:alpine-normal-3.7.1 +FROM ghcr.io/osgeo/gdal:alpine-normal-3.11.0 -RUN apk add --no-cache nodejs yarn git python3 python3-dev py3-pip \ - make bash sqlite-dev zlib-dev geos geos-dev \ - postgresql-libs gcc g++ musl-dev postgresql-dev cairo \ - py3-cairo file ca-certificates \ - && update-ca-certificates +RUN apk add --no-cache nodejs yarn git python3-dev py3-pip \ + make sqlite-dev zlib-dev geos-dev \ + gcc g++ musl-dev postgresql-dev cairo \ + py3-cairo file # Download and install Tippecanoe RUN git clone -b 2.31.0 https://github.com/felt/tippecanoe.git /tmp/tippecanoe && \ @@ -16,6 +15,6 @@ RUN git clone -b 2.31.0 https://github.com/felt/tippecanoe.git /tmp/tippecanoe & WORKDIR /usr/local/src/batch-machine ADD . /usr/local/src/batch-machine -RUN pip3 install . && pip3 install --upgrade certifi +RUN pip3 install --break-system-packages . CMD python3 test.py diff --git a/setup.py b/setup.py index 4e04fa02..5620e8e1 100644 --- a/setup.py +++ b/setup.py @@ -34,7 +34,7 @@ }, test_suite = 'openaddr.tests', install_requires = [ - 'gdal == 3.7.1', + 'gdal == 3.11.0', 'dateutils == 0.6.12', 'ijson == 2.4',