Skip to content

Commit b896e47

Browse files
authored
Clean up Dockerfile by removing renv setup
Removed renv configuration and related files from Dockerfile.
1 parent c4ec552 commit b896e47

1 file changed

Lines changed: 1 addition & 21 deletions

File tree

.binder/Dockerfile

Lines changed: 1 addition & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -15,26 +15,6 @@ FROM rocker/binder:4.4.2
1515
LABEL maintainer="Pablo Rogers <pablorogers@ufu.br>" \
1616
description="MyBinder environment for ARTE"
1717

18-
# --- renv Configuration ---
19-
# Set environment variables to configure where renv stores its cache
20-
# and the installed package library.
21-
# These paths are used to ensure renv functions correctly inside the container.
22-
ENV RENV_PATHS_CACHE=/home/rstudio/renv/cache
23-
# Path for the global renv cache (stores . tar.gz of downloaded packages).
24-
ENV RENV_PATHS_LIBRARY=/home/rstudio/renv/library
25-
# Path for the R package library installed by renv for this project.
26-
27-
# --- Copy renv Configuration Files ---
28-
# Copy necessary renv files from the build context (your local system)
29-
# to the home directory inside the container.
30-
# These files are essential for renv to function correctly.
31-
COPY --chown=rstudio renv.lock /home/rstudio/renv.lock
32-
# The lock file defining the exact versions of R packages.
33-
COPY --chown=rstudio .Rprofile /home/rstudio/.Rprofile
34-
# The profile file that activates renv when R starts.
35-
COPY --chown=rstudio renv/activate.R /home/rstudio/renv/activate.R
36-
# The renv activation script.
37-
3818
# --- Copy Project Files ---
3919
# Copy the entire project to the container's home directory.
4020
# This includes all source files, data, and documentation.
@@ -61,4 +41,4 @@ RUN quarto install tinytex
6141
# explicit port exposure or CMD instructions, as rocker/binder
6242
# already configures JupyterHub and RStudio Server for MyBinder.org.
6343
# This environment is ephemeral (max ~12h) and non-persistent,
64-
# intended only for reproducibility verification, not active development.
44+
# intended only for reproducibility verification, not active development.

0 commit comments

Comments
 (0)