r-docker
r-docker copied to clipboard
add multiarch image / arm support
especially for people using Apple Silicon, it might be convenient to have a multiarch image with arm support (ie. linux/arm64
or something).
If I understand this correctly, using the existing linux/amd64
image on Apple Silicon would involve some kind of emulation (QEMU? Rosetta? Both? I don't know ...), which may carry a (further) performance penalty.
The official r-base seems to have this.
I think this may be my challenge. I am unable to build docker images which use FROM rstudio/rbase:bionic
due to differing platforms.
It cannot be built unless the arm64 R installer is provided.
https://github.com/rstudio/r-docker/blob/e35d1e507e007c43272fbfbac092c15eb31017c4/4.1/focal/Dockerfile#L14