-
Notifications
You must be signed in to change notification settings - Fork 15
/
Dockerfile
28 lines (25 loc) · 1.05 KB
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
FROM docker.io/rocker/verse:3.6.2
RUN r -e 'tinytex::tlmgr_install(pkgs = c("changepage", \
"ucs", \
"marvosym", \
"lineno", \
"microtype", \
"xcolor", \
"colortbl", \
"lastpage", \
"fancyhdr", \
"forarray", \
"xstring", \
"listings", \
"ec", \
"latexdiff", \
# needed for latexdiff:
"ulem"))'
LABEL maintainer='D. Nüst <daniel.nuest@uni-muenster.de>' \
org.opencontainers.image.authors='Nüst (daniel.nuest@uni-muenster.de), Sochat, Marwick, Eglen, Head, Hirst, and Evans' \
org.opencontainers.image.url='https://github.com/nuest/ten-simple-rules' \
org.opencontainers.image.documentation='https://nuest.github.io/ten-simple-rules-dockerfiles/ten-simple-rules-dockerfiles.pdf' \
org.opencontainers.image.version='1.0.0'
# Usage instructions:
# $ docker build -t ten-simple-rules-dockerfiles .
# $ docker run --interactive --rm --name tensimpledockerfiles --user $UID --volume $(pwd):/tsrd ten-simple-rules-dockerfiles Rscript -e 'setwd("/tsrd"); rmarkdown::render("ten-simple-rules-dockerfiles.Rmd")'