Skip to content

Commit

Permalink
combine installs
Browse files Browse the repository at this point in the history
  • Loading branch information
corviday committed Sep 24, 2024
1 parent b10fdf9 commit 5cc7cfb
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,16 @@ LABEL Maintainer="James Hiebert <[email protected]>"

ARG DEBIAN_FRONTEND=noninteractive

RUN apt-get update
RUN apt-get -yq install libhdf5-dev libnetcdf-dev
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 rm -rf /var/lib/apt/lists/*
RUN apt-get update && apt-get install -yq \
libhdf5-dev \
libnetcdf-dev \
libyaml-dev \
libgdal-dev \
python3 \
python3-dev \
python3-pip \
cython3 && \
rm -rf /var/lib/apt/lists/*

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

0 comments on commit 5cc7cfb

Please sign in to comment.