-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
24 lines (20 loc) · 739 Bytes
/
Dockerfile
File metadata and controls
24 lines (20 loc) · 739 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
ARG R
ARG BUILD_DATE
ARG VCS_REF
FROM rocker/r-ver:$R
LABEL maintainer="Charlotte Dawson <csdaw@outlook.com>" \
org.opencontainers.image.authors="Charlotte Dawson" \
author.orcid="0000-0002-7151-5971" \
org.opencontainers.image.url="https://hub.docker.com/repository/docker/csdaw/rmarkdown-tinytex" \
org.label-schema.vcs-url="https://github.com/csdaw/rmarkdown-tinytex" \
org.label-schema.license="MIT"
# install tinytex linux dependencies, pandoc, and rmarkdown
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
wget \
graphviz \
perl && \
/rocker_scripts/install_pandoc.sh && \
install2.r rmarkdown
# install tinytex
RUN Rscript -e 'tinytex::install_tinytex()'