PondiB / openeocubes

A lightweight R-based RESTful service to analyze Earth Observation data cubes in the cloud.
Apache License 2.0
30 stars 9 forks source link

installation of R package #42

Closed edzer closed 1 year ago

edzer commented 1 year ago

If I run

docker run -p 8000:8000  brianpondi/openeocubes

after the image is downloaded a large number of R packages are being installed. Why does the image not come with the R packages pre-installed?

PondiB commented 1 year ago

after the image is downloaded a large number of R packages are being installed. Why does the image not come with the R packages pre-installed?

This is because I am using a base ubuntu:jammy image and then installing the required package. I could use rocker:geospatial but it's heavier and has a lot of packages I don't need.

edzer commented 1 year ago

It turned out that my local image was not updated, and didn't include https://github.com/PondiB/openeocubes/commit/527c721faf89c3d95c68f8d3b082febcbf22babb ; pulling it again solved this.

PondiB commented 1 year ago

Cool, noted.