-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
22 lines (17 loc) · 784 Bytes
/
Dockerfile
File metadata and controls
22 lines (17 loc) · 784 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
FROM ubuntu
MAINTAINER jkgeyti
RUN apt-get update
RUN apt-get -y install git python build-essential g++ flex bison gperf ruby perl \
libsqlite3-dev libfontconfig1-dev libicu-dev libfreetype6 libssl-dev \
libpng-dev libjpeg-dev && \
cd /opt && \
git clone git://github.com/ariya/phantomjs.git && \
cd phantomjs && \
git checkout 1.9 && \
./build.sh --confirm && \
ln -s /opt/phantomjs/bin/phantomjs /usr/local/bin/phantomjs && \
find /opt/phantomjs/ -maxdepth 1 -not -path "*/" -not -path "*/bin" -exec rm -rf {} +
RUN cd /opt && \
git clone git://github.com/n1k0/casperjs.git && \
ln -s /opt/casperjs/bin/casperjs /usr/local/bin/casperjs
RUN apt-get -y remove git && apt-get -y autoremove && apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*