-
Notifications
You must be signed in to change notification settings - Fork 3
/
Dockerfile
35 lines (29 loc) · 919 Bytes
/
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
31
32
33
34
35
FROM ubuntu:18.04
# Avoid interaction when installing npm
ARG DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get install -y \
unzip \
r-base \
wget \
ffmpeg \
libcurl4-gnutls-dev \
libxml2-dev \
libssl-dev \
libmysqlclient-dev \
libcairo2-dev \
libgtk2.0-dev \
xvfb \
xauth \
xfonts-base \
libxt-dev \
libgconf2-4 \
git
RUN apt-get install -y npm build-essential
WORKDIR /home
RUN git clone https://github.com/rnajena/pcago-unified.git
WORKDIR /home/pcago
RUN wget --quiet https://github.com/rnajena/pcago-unified/releases/download/ubuntu-18.04/packrat-Ubuntu-1804.zip -O packrat.zip
RUN unzip -o -qq packrat.zip -d /home/pcago/src/packrat && rm packrat.zip
RUN mv /home/pcago/src/packrat/lib/x86_64-pc-linux-gnu/3.4.3 /home/pcago/src/packrat/lib/x86_64-pc-linux-gnu/3.4.4
RUN mkdir -p /home/pcago/src/packrat/lib-R && mkdir -p /home/pcago/src/packrat/lib-ext
WORKDIR /home/pcago/src