File tree Expand file tree Collapse file tree 2 files changed +15
-9
lines changed
Expand file tree Collapse file tree 2 files changed +15
-9
lines changed Original file line number Diff line number Diff line change @@ -13,15 +13,18 @@ RUN if [ "${REINSTALL_CMAKE_VERSION_FROM_SOURCE}" != "none" ]; then \
1313 && rm -f /tmp/reinstall-cmake.sh
1414
1515RUN 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')" \
24- && Rscript -e "install.packages('httpgd', repos='https://cran.rstudio.com')"
26+ && Rscript -e "install.packages('httpgd', repos='https://cran.rstudio.com')" \
27+ && rm -rf /var/lib/apt/lists/*
2528
2629RUN apt install -y shellcheck
2730RUN apt install -y ccache
Original file line number Diff line number Diff line change @@ -11,14 +11,17 @@ RUN if [ "${REINSTALL_CMAKE_VERSION_FROM_SOURCE}" != "none" ]; then \
1111 && rm -f /tmp/reinstall-cmake.sh
1212
1313RUN 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')" \
21- && Rscript -e "install.packages('httpgd', repos='https://cran.rstudio.com')"
23+ && Rscript -e "install.packages('httpgd', repos='https://cran.rstudio.com')" \
24+ && rm -rf /var/lib/apt/lists/*
2225
2326RUN apt install shellcheck
2427RUN apt install -y ccache
You can’t perform that action at this time.
0 commit comments