-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
R Dev Container: Multi-platform build of the Docker container #63
Comments
Notes from RSECon24 added to r-devel/r-dev-env#112. t To summarise: The dockerfile uses the Ubuntu r-project repo to install r-base-core when building the container, but this doesn't have a recent arm build (most recent when we tried was 4.1.2). There may be a more recent arm build in the debian r-project repo, so that may be a potential solution. |
A few findings from looking into this issue.
Current status:
|
Thanks @sjimellor-jr for digging into this! Your (off GitHub) comment about "why there isn't an ARM build of the Debian/Ubuntu package in the first place" got me wondering and after some searching around I found from the rocker/r-ubuntu Dockerfile that they use I think we will now be able to get this working with buildx. I'll leave this issue open for the moment and hopefully update it when we've got that working! |
The R Dev Container was primarily built for use with GitHub Codespaces (now extended to Gitpod Workspaces), so the underlying Docker container is built for linux/amd64 architecture. This means that it doesn't work well on M+ macOS or Windows as discussed in issue 112 of the R Dev Container repo.
@StarTrooper08 has attempted to use buildx to build a linux/amd64 image but got stuck.
If anyone with experience in this area can help us make progress on this issue it would be appreciated!
The text was updated successfully, but these errors were encountered: