This repository was archived by the owner on Apr 15, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy pathDockerfile
More file actions
96 lines (83 loc) · 2.22 KB
/
Copy pathDockerfile
File metadata and controls
96 lines (83 loc) · 2.22 KB
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
## Emacs, make this -*- mode: sh; -*-
FROM ubuntu:16.04
MAINTAINER "r-hub admin" admin@r-hub.io
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
software-properties-common \
&& apt-add-repository multiverse
## Set a default user. Available via runtime flag
## Add user to 'staff' group, granting them write privileges to
## /usr/local/lib/R/site.library
## User should also have & own a home directory
RUN useradd docker \
&& mkdir /home/docker \
&& chown docker:docker /home/docker \
&& addgroup docker staff
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
bison \
ca-certificates \
curl \
debhelper \
default-jdk \
ghostscript \
groff-base \
less \
libblas-dev \
libbz2-dev \
libcairo2-dev \
libcurl4-openssl-dev \
libicu-dev \
libjpeg-dev \
liblapack-dev \
liblzma-dev \
libncurses5-dev \
libpango1.0-dev \
libpcre2-dev \
libpng-dev \
libreadline-dev \
libtiff5-dev \
libx11-dev \
libxt-dev \
lmodern \
locales \
mpack \
qpdf \
subversion \
tcl8.6-dev \
texinfo \
texlive-base \
texlive-extra-utils \
texlive-fonts-extra \
texlive-fonts-recommended \
texlive-generic-recommended \
texlive-latex-base \
texlive-latex-extra \
texlive-latex-recommended \
tk8.6-dev \
valgrind \
unzip \
x11proto-core-dev \
xauth \
xdg-utils \
xfonts-base \
xfonts-100dpi \
xfonts-75dpi \
xvfb \
zlib1g-dev
## Configure default locale,
## see https://github.com/rocker-org/rocker/issues/19
RUN echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen && locale-gen en_US.utf8 && /usr/sbin/update-locale LANG=en_US.UTF-8
RUN apt-get install -y --no-install-recommends valgrind
RUN apt-get install -y --no-install-recommends qpdf
RUN curl -o /usr/local/bin/pandoc.gz \
https://files.r-hub.io/pandoc/linux-64/pandoc.gz && \
gzip -d /usr/local/bin/pandoc.gz && \
curl -o /usr/local/bin/pandoc-citeproc.gz \
https://files.r-hub.io/pandoc/linux-64/pandoc-citeproc.gz && \
gzip -d /usr/local/bin/pandoc-citeproc.gz && \
chmod +x /usr/local/bin/pandoc /usr/local/bin/pandoc-citeproc
RUN apt-get install -y aspell aspell-en
RUN rm -rf /var/lib/apt/lists/*
ENV LC_ALL en_US.UTF-8
ENV LANG en_US.UTF-8