Skip to content

Commit 13a8b7d

Browse files
committed
update devcontainer to build from dockerfile
1 parent 1117f6f commit 13a8b7d

File tree

2 files changed

+1
-297
lines changed

2 files changed

+1
-297
lines changed

.devcontainer/r-devel-growable/Dockerfile

Lines changed: 1 addition & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -1,46 +1,4 @@
1-
FROM registry.gitlab.com/rdatatable/dockerfiles/r-devel-gcc
2-
3-
RUN apt-get -qq update \
4-
&& apt-get install -y --no-install-recommends \
5-
git \
6-
patch \
7-
subversion \
8-
rsync \
9-
texinfo \
10-
texlive-latex-base \
11-
texlive-latex-recommended \
12-
texlive-fonts-recommended \
13-
&& rm -rf /var/lib/apt/lists/*
14-
15-
COPY .devcontainer/r-devel-growable/growable-api.patch /opt/growable-api.patch
16-
17-
WORKDIR /opt/R-source
18-
RUN svn checkout https://svn.r-project.org/R/trunk R-devel && \
19-
cd R-devel && \
20-
patch -p0 < /opt/growable-api.patch
21-
22-
# Build patched R
23-
WORKDIR /opt/R-source/R-devel
24-
RUN ./configure \
25-
--prefix=/usr/local \
26-
--enable-R-shlib \
27-
--enable-memory-profiling \
28-
--with-blas \
29-
--with-lapack \
30-
--with-readline \
31-
--with-cairo \
32-
--with-libpng \
33-
--with-jpeglib \
34-
--with-libtiff \
35-
--disable-nls && \
36-
make -j$(nproc) && \
37-
make install
38-
39-
RUN echo 'Testing growable vectors...' && \
40-
/usr/local/bin/R --slave -e '.Internal(growvec_alloc(13L, 0, 10))'
41-
42-
ENV PATH=/usr/local/bin:$PATH
43-
ENV R_HOME=/usr/local/lib/R
1+
FROM registry.gitlab.com/rdatatable/dockerfiles/r-devel-growable
442

453
COPY DESCRIPTION .
464
RUN /usr/local/bin/Rscript -e ' \

.devcontainer/r-devel-growable/growable-api.patch

Lines changed: 0 additions & 254 deletions
This file was deleted.

0 commit comments

Comments
 (0)