forked from dirkschumacher/r-shiny-electron
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
31 lines (28 loc) · 1.14 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
29
30
FROM rocker/rstudio:3.5.1
MAINTAINER [email protected]
RUN apt-get update && apt-get install -y --no-install-recommends \
curl \
wget \
gnupg2 \
cpio \
cmake \
libboost-all-dev \
liblzma-dev \
&& curl -sL https://deb.nodesource.com/setup_6.x | bash - \
&& apt-get install -y --no-install-recommends build-essential \
libxml2-dev \
libssl1.0-dev \
zlib1g-dev \
nodejs \
&& npm install -g npm \
&& export ADD=shiny && bash /etc/cont-init.d/add \
&& wget https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/xar/xar-1.5.2.tar.gz \
&& tar -zxvf xar-1.5.2.tar.gz \
&& cd xar-1.5.2 && ./configure && make && make install \
&& cd .. && rm -rf xar-1.5.2 \
# This innoextract latest version required to extract from Windows installer
&& wget https://github.com/dscharrer/innoextract/releases/download/1.7/innoextract-1.7.tar.gz \
&& tar -xvzf innoextract-1.7.tar.gz \
&& mkdir -p innoextract-1.7/build && cd innoextract-1.7/build \
&& cmake .. && make && make install && cd ../.. && rm -rf innoextract-1.7 innoextract-1.7.tar.gz \
&& install2.r automagic