Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
jordancaraballo authored Oct 21, 2024
1 parent 24dba89 commit 5d2438f
Showing 1 changed file with 11 additions and 8 deletions.
19 changes: 11 additions & 8 deletions requirements/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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]+'` \
Expand Down

0 comments on commit 5d2438f

Please sign in to comment.