/rstudio-m1

Dockerfile for RStudio Server on M1

Primary LanguageDockerfile

Dockerfile for RStudio Server on ARM

This is a Dockerfile for running RStudio Server on Apple Silicon (M1) processors.

It is based on edgyr and Rocker.

This is available from Docker Hub and can be run as a Rocker with docker run -d -p 8787:8787 -v ~/Projects/:/home/rstudio/projects -e PASSWORD=YOURPASSWORD amoselb/rstudio-m1

I do not claim this to be a good Docker build. It is larger than I would like, and based on an older version of the Rocker scripts. It does, however, serve the limited purpose of getting RStudio running with a native build on R on Apple M1 laptops. It can hopefully help tide us over until RStudio Client is native on M1. PRs are welcome!

Note that you may need to increase the RAM allocated to docker to get some packages such as RcppEigen and rstan to compile.