From c897d05c9f57041f9cdeb89008f1662fdb23df68 Mon Sep 17 00:00:00 2001 From: kev Date: Mon, 25 May 2015 19:27:47 +0800 Subject: [PATCH] update --- phantomjs/Dockerfile | 16 ++++++++++++++++ ubuntu/Dockerfile | 4 ---- ubuntu/README.md | 1 - 3 files changed, 16 insertions(+), 5 deletions(-) create mode 100644 phantomjs/Dockerfile delete mode 100644 ubuntu/Dockerfile delete mode 100644 ubuntu/README.md diff --git a/phantomjs/Dockerfile b/phantomjs/Dockerfile new file mode 100644 index 0000000..4970c8e --- /dev/null +++ b/phantomjs/Dockerfile @@ -0,0 +1,16 @@ +# +# Dockerfile for building PhantomJS +# + +FROM ubuntu:14.04 +MAINTAINER kev + +RUN apt-get update \ + && apt-get install git build-essential g++ flex bison gperf ruby perl \ + libsqlite3-dev libfontconfig1-dev libicu-dev libfreetype6 libssl-dev \ + libpng-dev libjpeg-dev python ttf-mscorefonts-installer + +RUN git clone git://github.com/ariya/phantomjs.git \ + && cd phantomjs \ + && git checkout 2.0 \ + && ./build.sh diff --git a/ubuntu/Dockerfile b/ubuntu/Dockerfile deleted file mode 100644 index fbc6e12..0000000 --- a/ubuntu/Dockerfile +++ /dev/null @@ -1,4 +0,0 @@ -FROM ubuntu:14.04 -RUN apt-get update -RUN apt-get install -y python curl -RUN curl -sSL https://bootstrap.pypa.io/get-pip.py | python diff --git a/ubuntu/README.md b/ubuntu/README.md deleted file mode 100644 index 3011c84..0000000 --- a/ubuntu/README.md +++ /dev/null @@ -1 +0,0 @@ -Internet has been partially blocked in China.