Skip to content

Commit 7735854

Browse files
committed
use ppa:marutter/rrutter4.0 as base R repository
1 parent ae68732 commit 7735854

File tree

2 files changed

+11
-7
lines changed

2 files changed

+11
-7
lines changed

.gitpod.Dockerfile

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,15 @@ RUN if [ "${REINSTALL_CMAKE_VERSION_FROM_SOURCE}" != "none" ]; then \
1313
&& rm -f /tmp/reinstall-cmake.sh
1414

1515
RUN sed -i.bak "/^#.*deb-src.*universe$/s/^# //g" /etc/apt/sources.list \
16-
&& echo "deb https://cloud.r-project.org/bin/linux/ubuntu jammy-cran40/" >> /etc/apt/sources.list \
16+
&& apt -y update \
17+
&& apt install -y --no-install-recommends \
18+
software-properties-common \
19+
subversion \
20+
valgrind \
21+
&& add-apt-repository --enable-source --yes "ppa:marutter/rrutter4.0" \
1722
&& wget -qO- https://cloud.r-project.org/bin/linux/ubuntu/marutter_pubkey.asc | sudo tee -a /etc/apt/trusted.gpg.d/cran_ubuntu_key.asc \
18-
&& apt update \
19-
&& apt -y install subversion \
2023
&& apt -y build-dep r-base-dev \
2124
&& apt -y install r-base-dev \
22-
&& apt -y install valgrind \
2325
&& Rscript -e "install.packages('languageserver', repos='https://cran.rstudio.com')" \
2426
&& Rscript -e "install.packages('httpgd', repos='https://cran.rstudio.com')"
2527

Dockerfile

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,12 @@ RUN if [ "${REINSTALL_CMAKE_VERSION_FROM_SOURCE}" != "none" ]; then \
1111
&& rm -f /tmp/reinstall-cmake.sh
1212

1313
RUN sed -i.bak "/^#.*deb-src.*universe$/s/^# //g" /etc/apt/sources.list \
14-
&& echo "deb https://cloud.r-project.org/bin/linux/ubuntu jammy-cran40/" >> /etc/apt/sources.list \
14+
&& apt -y update \
15+
&& apt install -y --no-install-recommends \
16+
software-properties-common \
17+
subversion \
18+
&& add-apt-repository --enable-source --yes "ppa:marutter/rrutter4.0" \
1519
&& wget -qO- https://cloud.r-project.org/bin/linux/ubuntu/marutter_pubkey.asc | sudo tee -a /etc/apt/trusted.gpg.d/cran_ubuntu_key.asc \
16-
&& apt update \
17-
&& apt -y install subversion \
1820
&& apt -y build-dep r-base-dev \
1921
&& apt -y install r-base-dev \
2022
&& Rscript -e "install.packages('languageserver', repos='https://cran.rstudio.com')" \

0 commit comments

Comments
 (0)