From 5cc7cfbad0c737e2055e25e56ed90e9f07427a6e Mon Sep 17 00:00:00 2001 From: Lee Zeman Date: Mon, 23 Sep 2024 18:04:58 -0700 Subject: [PATCH] combine installs --- Dockerfile | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/Dockerfile b/Dockerfile index 98f8fc6..cdf4874 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,13 +4,16 @@ LABEL Maintainer="James Hiebert " 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