Skip to content
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

arm support for tidyverse, verse, geospatial? #830

Open
jpvelez opened this issue Jun 19, 2024 · 4 comments
Open

arm support for tidyverse, verse, geospatial? #830

jpvelez opened this issue Jun 19, 2024 · 4 comments
Labels

Comments

@jpvelez
Copy link

jpvelez commented Jun 19, 2024

Container image name

rocker/tidyverse, rocker/verse, rocker/geospatial

Container image digest

No response

What operating system related to this question?

Linux

System information

No response

Question

Hi folks,

Rocker is totally amazing; thank you so much for all your hard work! We're a climate think tank that mostly uses R but also occasionally python, and we all run apple-silicon macs.

Our current image looks like this:

FROM rocker/rstudio:4.3.3

# Adds tidyverse packages & devtools
RUN /rocker_scripts/install_tidyverse.sh

# Adds geospatial packages
# required by geojsonsf package
RUN R -e 'install.packages("jsonify")'
RUN /rocker_scripts/install_geospatial.sh

# Adds python and jupyter
RUN /rocker_scripts/install_python.sh
RUN /rocker_scripts/install_jupyter.sh
# Put python venv on PATH
RUN export PATH="/opt/venv/bin:$PATH"
# Install python3 kernel for quarto
RUN pip install ipykernel
RUN pip install --upgrade pip

# Adds quarto
RUN /rocker_scripts/install_quarto.sh latest

# Install light-weight tex distribution
RUN curl -sL "https://yihui.org/tinytex/install-bin-unix.sh" | sh

In other words, we use the rocker install scripts to essentially recreate rocker/geospatial with python installed. We do this because currently, rocker's arm support seems to stop at rocker/rstudio.

Is there any chance of supporting arm throughout the stack? With apple silicon macs becoming more common, I think a lot of folks would find this very useful!

@eitsupi
Copy link
Member

eitsupi commented Jun 19, 2024

Is there any chance of supporting arm throughout the stack?

The current problem is that some R packages such as arrow and duckdb take a long time to build. See #144.

Build times may be reduced when P3M starts providing arm64 binaries or when the arm64 runner is available on GitHub Actions (end of 2024).

@benz0li
Copy link
Contributor

benz0li commented Jun 20, 2024

Is there any chance of supporting arm throughout the stack?

The current problem is that some R packages such as arrow and duckdb take a long time to build. See #144.

Build times may be reduced when P3M starts providing arm64 binaries or when the arm64 runner is available on GitHub Actions (end of 2024).

@jpvelez Until then, have a look at b-data's/my multi-arch (linux/amd64, linux/arm64/v8) JupyterLab R docker stack which includes RStudio for R versions ≥ 4.4.0.

@Jeadie
Copy link

Jeadie commented Nov 9, 2024

Build times may be reduced when P3M starts providing arm64 binaries or when the arm64 runner is available on GitHub Actions (end of 2024).

#830 (comment)

ARM runners on GH actions are now in GA btw.
https://github.blog/changelog/2024-09-03-github-actions-arm64-linux-and-windows-runners-are-now-generally-available/

@benz0li
Copy link
Contributor

benz0li commented Nov 9, 2024

Build times may be reduced when P3M starts providing arm64 binaries or when the arm64 runner is available on GitHub Actions (end of 2024).

#830 (comment)

ARM runners on GH actions are now in GA btw. https://github.blog/changelog/2024-09-03-github-actions-arm64-linux-and-windows-runners-are-now-generally-available/

Only for Team and Enterprise Cloud plans – not for the general public.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants