From 5f98a40a1bf747e6b1fc94b104e13b3c7cb653e3 Mon Sep 17 00:00:00 2001 From: Jan Wijffels Date: Thu, 19 Dec 2024 17:09:09 +0100 Subject: [PATCH] Dockerfile vscode --- development/vscode/Dockerfile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/development/vscode/Dockerfile b/development/vscode/Dockerfile index f8856cb..7353ed7 100644 --- a/development/vscode/Dockerfile +++ b/development/vscode/Dockerfile @@ -28,9 +28,7 @@ RUN /rocker_scripts/install_R_source.sh ## Add a default CRAN mirror RUN echo "options(repos = c(CRAN = '${CRAN}'), download.file.method = 'libcurl')" >>"${R_HOME}/etc/Rprofile.site" -RUN cat <>"${R_HOME}/etc/Rprofile.site" \ -options(HTTPUserAgent = sprintf("R/%s R (%s)", getRversion(), paste(getRversion(), R.version["platform"], R.version["arch"], R.version["os"]))) \ -EOF +RUN echo "options(HTTPUserAgent = sprintf('R/%s R (%s)', getRversion(), paste(getRversion(), R.version['platform'], R.version['arch'], R.version['os'])))" >> "${R_HOME}/etc/Rprofile.site" RUN /rocker_scripts/install_rstudio.sh RUN /rocker_scripts/install_pandoc.sh