File tree Expand file tree Collapse file tree 2 files changed +1
-297
lines changed
.devcontainer/r-devel-growable Expand file tree Collapse file tree 2 files changed +1
-297
lines changed Original file line number Diff line number Diff line change 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
453COPY DESCRIPTION .
464RUN /usr/local/bin/Rscript -e ' \
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments