Skip to content

Commit

Permalink
Dockerfile vscode
Browse files Browse the repository at this point in the history
  • Loading branch information
jwijffels committed Dec 19, 2024
1 parent 566c798 commit 5f98a40
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions development/vscode/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 <<EOF >>"${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
Expand Down

0 comments on commit 5f98a40

Please # to comment.