Skip to content

Commit 59cd2e6

Browse files
committed
adding Dockerfile for custom checks in Travis and beyond
1 parent 6a6dc13 commit 59cd2e6

File tree

2 files changed

+26
-0
lines changed

2 files changed

+26
-0
lines changed

.Rbuildignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,4 @@ inst/include/Rcpp.h.old
1919
LICENSE
2020
.*.tar.gz
2121
\.editorconfig
22+
docker

docker/Dockerfile

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
## Emacs, make this -*- mode: sh; -*-
2+
3+
FROM r-base:latest
4+
5+
LABEL org.label-schema.license="GPL-2.0" \
6+
org.label-schema.vcs-url="https://github.com/RcppCore/Rcpp" \
7+
maintainer="Dirk Eddelbuettel <[email protected]>"
8+
9+
RUN apt-get update \
10+
&& apt-get install -y --no-install-recommends \
11+
r-cran-runit \
12+
r-cran-inline \
13+
r-cran-rmarkdown \
14+
r-cran-knitr \
15+
r-cran-pkgkitten \
16+
r-cran-curl \
17+
r-cran-openssl \
18+
r-cran-httr \
19+
r-cran-lazyeval \
20+
r-cran-withr \
21+
&& install.r rbenchmark pinp covr \
22+
&& mkdir ~/.R \
23+
&& echo _R_CHECK_FORCE_SUGGESTS_=FALSE > ~/.R/check.Renviron
24+
25+
CMD ["bash"]

0 commit comments

Comments
 (0)