Skip to content

Commit

Permalink
Get latest rstudio for noble
Browse files Browse the repository at this point in the history
  • Loading branch information
almahmoud authored Dec 16, 2024
1 parent 89a888c commit 35210c6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/scripts/rocker_prep.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ git clone --depth 1 https://github.com/rocker-org/rocker-versioned2
sed -i "s#rocker/r-ver:$RVER#$ROCKERPREF-r-ver:$RVER-$ARCH#g" rocker-versioned2/dockerfiles/rstudio_$RVER.Dockerfile
sed -i "s#rocker/rstudio:$RVER#$ROCKERPREF-rstudio:$RVER-$ARCH#g" rocker-versioned2/dockerfiles/tidyverse_$RVER.Dockerfile
sed -i "s#RUN /rocker_scripts/install_quarto.sh#RUN /rocker_scripts/install_quarto.sh || true#g" rocker-versioned2/dockerfiles/rstudio_$RVER.Dockerfile
# Get latest version of rstudio to use
source /etc/os-release
LATEST_RSTUDIO_VERSION=$(curl https://dailies.rstudio.com/rstudio/latest/index.json | grep -A300 '"server"' | grep -A15 '"noble-amd64"' | grep '"version"' | sed -n 's/.*: "\(.*\)".*/\1/p' | head -1)
sed -i "/^ENV RSTUDIO_VERSION=/c\ENV RSTUDIO_VERSION=\"$LATEST_RSTUDIO_VERSION\"" dockerfiles/rstudio_devel.Dockerfile

echo "Bioconductor Version: $BIOCVER"
if [ "$RVER" == "devel" ]; then
Expand Down

0 comments on commit 35210c6

Please sign in to comment.