Skip to content

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

Closed

Description

@Robinlovelace

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)!

Activity

  1. e-kotov commented on Sep 29, 2025

    @e-kotov
  2. Robinlovelace commented on Sep 29, 2025

    @Robinlovelace
    Author
  3. e-kotov commented on Sep 29, 2025

    @e-kotov
  4. changed the title [-]Refactor: Replace Rocker-based images with posit-dev/r-docker[/-] [+]Replace Rocker-based images with posit images[/+] on Sep 29, 2025
  5. changed the title [-]Replace Rocker-based images with posit images[/-] [+]Replace Rocker-based images with posit for the `ghcr.io/geocompx/minimal` image[/+] on Sep 29, 2025
  6. Robinlovelace commented on Sep 29, 2025

    @Robinlovelace
    ContributorAuthor

    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

  7. Robinlovelace commented on Sep 29, 2025

    @Robinlovelace
    ContributorAuthor

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

    Tracked here: posit-dev/positron#4691

  8. Robinlovelace commented on Sep 29, 2025

    @Robinlovelace
    ContributorAuthor

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

  9. Robinlovelace commented on Sep 29, 2025

    @Robinlovelace
    ContributorAuthor
  10. Robinlovelace commented on Nov 3, 2026

    @Robinlovelace
    ContributorAuthor

    Resolved via ghcr.io/geocompx/minimal-slim (1.45 GB) and ghcr.io/geocompx/pythonr (2.87 GB), which are both based on posit/r-base:4.5-noble with Posit Package Manager Ubuntu Noble binaries (packagemanager.posit.co/cran/linux/noble/latest) and further slimmed in #140 and #142.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions