2015-05-25 13:27:47 +02:00
|
|
|
#
|
|
|
|
# Dockerfile for building PhantomJS
|
|
|
|
#
|
|
|
|
|
|
|
|
FROM ubuntu:14.04
|
|
|
|
MAINTAINER kev <noreply@datageek.info>
|
|
|
|
|
|
|
|
RUN apt-get update \
|
2015-05-25 13:39:33 +02:00
|
|
|
&& apt-get install -y git build-essential g++ flex bison gperf ruby perl \
|
2015-05-25 13:27:47 +02:00
|
|
|
libsqlite3-dev libfontconfig1-dev libicu-dev libfreetype6 libssl-dev \
|
2015-05-25 13:42:06 +02:00
|
|
|
libpng-dev libjpeg-dev python \
|
|
|
|
&& git clone git://github.com/ariya/phantomjs.git \
|
2015-05-25 13:27:47 +02:00
|
|
|
&& cd phantomjs \
|
|
|
|
&& git checkout 2.0 \
|
2015-05-25 13:52:29 +02:00
|
|
|
&& echo y | ./build.sh
|