Skip to content

Commit 50335b8

Browse files
committed
update to PhantomJS 2.1
ariya/phantomjs#12970
1 parent 8b90188 commit 50335b8

File tree

1 file changed

+8
-13
lines changed

1 file changed

+8
-13
lines changed

www/board/agenda/Dockerfile

Lines changed: 8 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ ENV DEBIAN_FRONTEND noninteractive
44
RUN mkdir -p /srv/var
55

66
ENV RUBY_VERSION 2.3
7-
ENV PHANTOMJS_VERSION 2.0.0
7+
ENV PHANTOMJS_VERSION 2.1.1
88
ENV NODEJS_VERSION 5
99

1010
# generate locales
@@ -33,18 +33,13 @@ RUN apt-get install -y software-properties-common && \
3333
apt-get install -y lsof && \
3434
apt-get install -y zlib1g-dev
3535

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
4843

4944
# Clean Up
5045
RUN apt-get autoremove -y && \

0 commit comments

Comments
 (0)