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.