Skip to content

Commit

Permalink
clean up Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
corviday committed Sep 19, 2024
1 parent c9e5b29 commit 475906f
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,13 @@ RUN apt-get -yq install libyaml-dev libgdal-dev
RUN apt-get -yq install python3 python3-dev python3-pip
RUN apt-get -yq install cython3

RUN cat /usr/include/gdal/gdal_version.h

RUN rm -rf /var/lib/apt/lists/*

ENV CPLUS_INCLUDE_PATH=/usr/include/gdal
ENV C_INCLUDE_PATH=/usr/include/gdal

RUN pip install -U pip && python3 -m pip install -U pip

RUN pip install numpy && pip3 install numpy
RUN python3 -m pip install -U pip

RUN pip3 install gdal==3.4.1 h5py netCDF4 psycopg2 PyYAML pillow
RUN pip3 install numpy

RUN python3 --version
RUN pip3 install gdal==3.4.1 h5py netCDF4 psycopg2 PyYAML pillow

0 comments on commit 475906f

Please sign in to comment.