File tree Expand file tree Collapse file tree 1 file changed +2
-11
lines changed
Expand file tree Collapse file tree 1 file changed +2
-11
lines changed Original file line number Diff line number Diff line change 11FROM mcr.microsoft.com/devcontainers/cpp:dev-ubuntu
22
3- ARG REINSTALL_CMAKE_VERSION_FROM_SOURCE="none"
4-
5- # Optionally install the cmake for vcpkg
6- COPY ./reinstall-cmake.sh /tmp/
7-
8- RUN if [ "${REINSTALL_CMAKE_VERSION_FROM_SOURCE}" != "none" ]; then \
9- chmod +x /tmp/reinstall-cmake.sh && /tmp/reinstall-cmake.sh ${REINSTALL_CMAKE_VERSION_FROM_SOURCE}; \
10- fi \
11- && rm -f /tmp/reinstall-cmake.sh
12-
133# Update and install necessary dependencies
4+ # (software-properties-common installed for apt-add-repository)
145RUN sed -i.bak "/^#.*deb-src.*universe$/s/^# //g" /etc/apt/sources.list \
156 && apt-get update \
167 && apt-get install -y --no-install-recommends \
@@ -23,7 +14,7 @@ RUN sed -i.bak "/^#.*deb-src.*universe$/s/^# //g" /etc/apt/sources.list \
2314 && apt-get install -y r-base-dev \
2415 && rm -rf /var/lib/apt/lists/*
2516
26- # Install R packages, with dynamic runiverse URL
17+ # Install R packages, with dynamic r-universe URL
2718RUN Rscript -e "runiverse <- sprintf('r-universe.dev/bin/linux/%s-%s/%s/', \
2819 system2('lsb_release', '-sc', stdout = TRUE), \
2920 R.version\$ arch, \
You can’t perform that action at this time.
0 commit comments