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