Otolith commited on
Commit
8e419dd
·
verified ·
1 Parent(s): 499082b

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +6 -6
Dockerfile CHANGED
@@ -6,12 +6,12 @@ WORKDIR /code
6
  # Install system dependencies required by R packages (sf, leaflet, etc.)
7
  RUN apt-get update && apt-get install -y \
8
  libcurl4-openssl-dev \ # For curl support in R
9
- libssl-dev \ # For SSL support in R packages like sf and leaflet
10
- libxml2-dev \ # For XML support, used by some R packages
11
- libgdal-dev \ # For geospatial data processing (needed by sf)
12
- libgeos-dev \ # For geometry processing (needed by sf)
13
- libproj-dev \ # For coordinate reference system (CRS) support (needed by sf)
14
- libnetcdf-dev \ # For NetCDF support (could be used by sf or other spatial packages)
15
  && rm -rf /var/lib/apt/lists/* # Clean up apt cache to reduce image size
16
 
17
  # Install R packages from CRAN using remotes (to avoid installation errors from install2.r)
 
6
  # Install system dependencies required by R packages (sf, leaflet, etc.)
7
  RUN apt-get update && apt-get install -y \
8
  libcurl4-openssl-dev \ # For curl support in R
9
+ libssl-dev \ # For SSL support in R packages like sf and leaflet
10
+ libxml2-dev \ # For XML support, used by some R packages
11
+ libgdal-dev \ # For geospatial data processing (needed by sf)
12
+ libgeos-dev \ # For geometry processing (needed by sf)
13
+ libproj-dev \ # For coordinate reference system (CRS) support (needed by sf)
14
+ libnetcdf-dev \ # For NetCDF support (could be used by sf or other spatial packages)
15
  && rm -rf /var/lib/apt/lists/* # Clean up apt cache to reduce image size
16
 
17
  # Install R packages from CRAN using remotes (to avoid installation errors from install2.r)