-
Notifications
You must be signed in to change notification settings - Fork 201
Closed
Labels
Description
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!
Reactions are currently unavailable