We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b03778c commit d2cdc8eCopy full SHA for d2cdc8e
1 file changed
config/Dockerfile-phantomjs
@@ -1,17 +1,5 @@
1
-FROM ubuntu:14.04
+FROM servebox/phantomjs:latest
2
3
EXPOSE 8910
4
5
-ENV PHANTOM_JS_VERSION 2.0.0
6
-
7
-RUN apt-get update
8
-RUN apt-get install -yqq build-essential g++ flex bison gperf ruby perl \
9
- libsqlite3-dev libfontconfig1-dev libicu-dev libfreetype6 libssl-dev \
10
- libpng-dev libjpeg-dev python libx11-dev libxext-dev \
11
- curl
12
-RUN curl -sSL https://github.com/ariya/phantomjs/archive/$PHANTOM_JS_VERSION.tar.gz | tar xz
13
-RUN ln -sf phantomjs-$PHANTOM_JS_VERSION /phantomjs
14
-RUN cd /phantomjs && ./build.sh --confirm
15
16
17
-CMD ["/phantomjs/bin/phantomjs", "--webdriver=8910"]
+CMD ["phantomjs", "--webdriver=8910"]
0 commit comments