@@ -4,7 +4,7 @@ ENV DEBIAN_FRONTEND noninteractive
4
4
RUN mkdir -p /srv/var
5
5
6
6
ENV RUBY_VERSION 2.3
7
- ENV PHANTOMJS_VERSION 2.0.0
7
+ ENV PHANTOMJS_VERSION 2.1.1
8
8
ENV NODEJS_VERSION 5
9
9
10
10
# generate locales
@@ -33,18 +33,13 @@ RUN apt-get install -y software-properties-common && \
33
33
apt-get install -y lsof && \
34
34
apt-get install -y zlib1g-dev
35
35
36
- # phantom.js - 2.0.0
37
- # https://github.com/ariya/phantomjs/issues/12948#issuecomment-78181293
38
- RUN apt-get install -y libfreetype6 && \
39
- apt-get install -y libjpeg8 && \
40
- apt-get install -y libfontconfig && \
41
- wget http://security.ubuntu.com/ubuntu/pool/main/i/icu/libicu48_4.8.1.1-3ubuntu0.6_amd64.deb && \
42
- dpkg -i libicu48_4.8.1.1-3ubuntu0.6_amd64.deb && \
43
- rm -f libicu48_4.8.1.1-3ubuntu0.6_amd64.deb && \
44
- wget https://s3.amazonaws.com/travis-phantomjs/phantomjs-$PHANTOMJS_VERSION-ubuntu-12.04.tar.bz2 && \
45
- tar -vxjf phantomjs-$PHANTOMJS_VERSION-ubuntu-12.04.tar.bz2 phantomjs && \
46
- rm -f phantomjs-$PHANTOMJS_VERSION-ubuntu-12.04.tar.bz2 && \
47
- mv phantomjs /usr/bin
36
+ # phantom.js
37
+ # http://phantomjs.org/download.html
38
+ RUN apt-get install -y libfontconfig && \
39
+ wget https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-$PHANTOMJS_VERSION-linux-x86_64.tar.bz2 && \
40
+ tar -vxjf phantomjs-$PHANTOMJS_VERSION-linux-x86_64.tar.bz2 phantomjs-$PHANTOMJS_VERSION-linux-x86_64/bin/phantomjs && \
41
+ mv phantomjs-$PHANTOMJS_VERSION-linux-x86_64/bin/phantomjs /usr/bin &&\
42
+ rm -rf phantomjs-$PHANTOMJS_VERSION-linux-x86_64
48
43
49
44
# Clean Up
50
45
RUN apt-get autoremove -y && \
0 commit comments