docker icon indicating copy to clipboard operation
docker copied to clipboard

Replace Rocker-based images with posit for the `ghcr.io/geocompx/minimal` image

Open Robinlovelace opened this issue 2 months ago • 7 comments

This will reduce image sizes.

I've just tested

docker pull posit/r-base:4.5-noble
docker pull posit/r-base:4.5-bookworm

And both work great. Not sure if there are slim versions: adding -slim fails. Any thoughts welcome, thanks @e-kotov for flagging issues with the previous version of this issue (it was garbage)!

Robinlovelace avatar Sep 22 '25 21:09 Robinlovelace

What are the mysterious links for further information? None of them are working)

e-kotov avatar Sep 29 '25 09:09 e-kotov

What are the mysterious links for further information? None of them are working)

AI hallucinations, apologies. I did a load of reading on it and asked for them to be summarised but seems to have failed. Will update the links.

Robinlovelace avatar Sep 29 '25 09:09 Robinlovelace

AI hallucinations, apologies. I did a load of reading on it and asked for them to be summarised but seems to have failed. Will update the links.

Would be nice though if Posit had their own flavour of data-sci container images with Positron.

e-kotov avatar Sep 29 '25 09:09 e-kotov

Would be nice though if Posit had their own flavour of data-sci container images with Positron.

They need devcontainers to work first, that way you just set

  "image": "posit/r-base:4.5-noble"

E.g.: https://github.com/itsleeds/tds/blob/cc961cd8ac215c8ff313c8aa4728876a045dc65c/.devcontainer/devcontainer.json#L4

Robinlovelace avatar Sep 29 '25 09:09 Robinlovelace

They need devcontainers to work first, that way you just set

Tracked here: https://github.com/posit-dev/positron/issues/4691

Robinlovelace avatar Sep 29 '25 09:09 Robinlovelace

Docs from posit: https://solutions.posit.co/envs-pkgs/environments/docker/ but that seems out of date mentioning rstudio/ instead of posit/ images.

Robinlovelace avatar Sep 29 '25 10:09 Robinlovelace

https://github.com/rstudio/r-docker/issues/134 and https://github.com/rstudio/r-docker/issues/135 are relevant here.

Robinlovelace avatar Sep 29 '25 10:09 Robinlovelace