Skip to content

Commit 17c3bc3

Browse files
authored
remove cmake
1 parent 008fa02 commit 17c3bc3

File tree

1 file changed

+2
-11
lines changed

1 file changed

+2
-11
lines changed

Dockerfile

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,7 @@
11
FROM 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)
145
RUN 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
2718
RUN Rscript -e "runiverse <- sprintf('r-universe.dev/bin/linux/%s-%s/%s/', \
2819
system2('lsb_release', '-sc', stdout = TRUE), \
2920
R.version\$arch, \

0 commit comments

Comments
 (0)