Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix
  • Loading branch information
mtojek committed Aug 13, 2025
commit 20948a7ae77dfb91280612e09cd31e7fd9b3f107
6 changes: 3 additions & 3 deletions registry/coder/modules/rstudio-server/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ RESET='\033[0m'

printf "$${BOLD}Starting RStudio Server (Rocker)...$${RESET}\n"

IMAGE="rocker/rstudio:${SERVER_VERSION}"

# Wait for docker to become ready
max_attempts=10
delay=2
Expand All @@ -25,8 +23,10 @@ while ! docker ps; do
delay=$$((delay * 2)) # exponential backoff
done


# Pull the specified version
docker pull "${IMAGE}"
IMAGE="rocker/rstudio:${SERVER_VERSION}"
docker pull "$${IMAGE}"

# Create (or reuse) a persistent renv cache volume
docker volume create "${RENV_CACHE_VOLUME}"
Expand Down