1
2
mirror of https://github.com/vimagick/dockerfiles synced 2024-06-25 16:28:40 +00:00
This commit is contained in:
kev 2015-05-25 23:32:00 +08:00
parent 3e20e8b12a
commit a7f6bfbc5e

@ -12,10 +12,7 @@ RUN apt-get update \
&& git clone git://github.com/ariya/phantomjs.git \
&& cd phantomjs \
&& git checkout 2.0 \
&& echo y | ./build.sh > /dev/null \
&& make install \
&& cd .. \
&& rm -rf phantomjs \
&& echo y | ./build.sh 2>/dev/null 1>&2 \
&& apt-get remove -y git build-essential g++ flex bison gperf ruby perl \
libsqlite3-dev libfontconfig1-dev libicu-dev libfreetype6 libssl-dev \
libpng-dev libjpeg-dev python \
@ -23,3 +20,4 @@ RUN apt-get update \
&& apt-get clean -y \
&& rm -rf /var/lib/apt/lists/*
CMD ["/bin/bash"]