From 5d2438f043f376c3a6771d40bd71049b4334ab18 Mon Sep 17 00:00:00 2001 From: Jordan Alexis Caraballo-Vega Date: Mon, 21 Oct 2024 10:05:24 -0400 Subject: [PATCH] Update Dockerfile --- requirements/Dockerfile | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/requirements/Dockerfile b/requirements/Dockerfile index e3943f3..0f168ec 100644 --- a/requirements/Dockerfile +++ b/requirements/Dockerfile @@ -7,16 +7,19 @@ FROM ${FROM_IMAGE}:${VERSION_DATE}-py3 ENV CPLUS_INCLUDE_PATH="/usr/include/gdal" ENV C_INCLUDE_PATH="/usr/include/gdal" -ENV PROJ_LIB="/usr/share/proj" +# ENV PROJ_LIB="/usr/share/proj" + +#RUN apt-get update && \ +# apt-get -y install software-properties-common && \ +# add-apt-repository ppa:ubuntugis/ubuntugis-unstable && \ +# curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | bash && \ +# apt-get update && apt-get -y dist-upgrade && \ +# apt-get -y install gdal-bin libgdal-dev && \ +# apt-get -y autoremove && \ +# rm -rf /var/cache/apt /var/lib/apt/lists/* RUN apt-get update && \ - apt-get -y install software-properties-common && \ - add-apt-repository ppa:ubuntugis/ubuntugis-unstable && \ - curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | bash && \ - apt-get update && apt-get -y dist-upgrade && \ - apt-get -y install gdal-bin libgdal-dev && \ - apt-get -y autoremove && \ - rm -rf /var/cache/apt /var/lib/apt/lists/* + apt-get install -y binutils libproj-dev gdal-bin RUN pip --no-cache-dir install --ignore-installed \ GDAL==`ogrinfo --version | grep -Eo '[0-9]\.[0-9]\.[0-9]+'` \