rocker-org/rocker-versioned2

[Feature Request]: rocker/shiny-verse for ARM architecture

pozlepster opened this issue · 6 comments

Hi,

I am sorry for opening a new issue, but I didn't know how to get in touch otherwise. Thank you for the rocker/... files, they are awesome. I am wondering whether it would be possible to create a docker file rocker/shiny-verse for ARM architecture, so it could run on a raspberry pi? Alternatively could you provide me with some tips on how to create it myself?

Thank you

Thanks, glad the instances have been useful.

I don't have an ARM box handy for testing. I'd start by seeing if you could just build this base Dockerfile after swapping out the FROM line for an ARM-based version of Debian....

A multi-arch docker image with support for ARM (32-bit) architecture would be great! Specifically, for running light shiny apps on SBCs.

Is there any word on this possibility?

But https://www.rstudio.com/products/shiny/download-server/ still says

We currently only provide a pre-built binary for the 64-bit architecture. Running on other architectures will require building from source.

and we don't do the latter part (no have bandwidth for it).

@eddelbuettel That's unfortunate but understandable. Thanks anyway for the response.

There are a few projects that provide arm images with Shiny Server installed. (I haven't tried these.)
https://github.com/hvalev/shiny-server-arm-docker
https://github.com/tyluRp/shiny-server-arm

Out of experimentation I tried emulating the rocker shiny server build substituting in the building shiny server from source. Got it working as two images I can use on my Raspberry Pi (64bit) in the same way rocker/shiny and rocker/shiny-verse function.

https://github.com/andrewbaxter439/docker-shiny-arm
https://github.com/andrewbaxter439/docker-shinyverse-arm

Similar to hvalev's repository above, with minor differences in approach:

  • building from rocker/r-ver as base image
  • I could easily switch it in for previous uses of rocker images in my builds
  • extra image with tidyverse installed as this took an extremely long time and was being done at first run

These are temporary stand-ins for my own project at the moment and as of yet no plans to keep them up-to-date with further R releases. Would love to see arm support in rocker projects some day if possible!