r-docker icon indicating copy to clipboard operation
r-docker copied to clipboard

add multiarch image / arm support

Open maxheld83 opened this issue 3 years ago • 2 comments

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.

maxheld83 avatar Jan 08 '22 22:01 maxheld83

I think this may be my challenge. I am unable to build docker images which use FROM rstudio/rbase:bionic due to differing platforms.

JosiahParry avatar Jan 26 '22 20:01 JosiahParry

It cannot be built unless the arm64 R installer is provided.

https://github.com/rstudio/r-docker/blob/e35d1e507e007c43272fbfbac092c15eb31017c4/4.1/focal/Dockerfile#L14

eitsupi avatar Jan 27 '22 13:01 eitsupi