1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2025-03-19 21:07:58 +02:00

remove phantomjs

This commit is contained in:
kev 2016-11-24 21:24:59 +08:00
parent 6c4bdf5d01
commit cd61392432
4 changed files with 0 additions and 91 deletions

View File

@ -75,7 +75,6 @@ A collection of delicious docker recipes.
- [x] nullmailer-arm - [x] nullmailer-arm
- [x] openhab - [x] openhab
- [x] openssh - [x] openssh
- [x] phantomjs
- [x] piknik - [x] piknik
- [x] portia - [x] portia
- [x] pure-ftpd - [x] pure-ftpd

View File

@ -1,57 +0,0 @@
#
# Dockerfile for building PhantomJS
#
FROM ubuntu:14.04
MAINTAINER EasyPi Software Foundation
ENV PHANTOMJS_VERSION 2.1.1
RUN set -xe \
&& apt-get update \
&& apt-get install -y bison \
build-essential \
flex \
g++ \
git \
gperf \
libfontconfig1 \
libfontconfig1-dev \
libicu52 \
libicu-dev \
libjpeg8 \
libjpeg-dev \
libpng-dev \
libsqlite3-dev \
libssl-dev \
perl \
python \
ruby \
&& git clone git://github.com/ariya/phantomjs.git \
&& cd phantomjs \
&& git checkout $PHANTOMJS_VERSION \
&& git submodule init \
&& git submodule update \
&& sed -i '/platform:/s@^@//@' src/ghostdriver/hub_register.js \
&& echo y | ./build.py \
&& install -v -s -m 755 bin/phantomjs /usr/local/bin/ \
&& cd .. \
&& rm -rf phantomjs \
&& apt-get purge -y --auto-remove bison \
build-essential \
flex \
g++ \
git \
gperf \
libfontconfig1-dev \
libicu-dev \
libjpeg-dev \
libpng-dev \
libsqlite3-dev \
libssl-dev \
perl \
python \
ruby \
&& rm -rf /var/lib/apt/lists/*
CMD ["phantomjs"]

View File

@ -1,25 +0,0 @@
#
# Dockerfile for selenium-node-phantomjs
#
FROM debian:jessie
MAINTAINER kev <noreply@easypi.info>
ENV PHANTOMJS_VER 2.1.1
ENV PHANTOMJS_URL https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-${PHANTOMJS_VER}-linux-x86_64.tar.bz2
ENV PHANTOMJS_BIN phantomjs-${PHANTOMJS_VER}-linux-x86_64/bin/phantomjs
RUN set -xe \
&& apt-get update \
&& apt-get install -y bzip2 curl libfontconfig \
&& curl -sSL ${PHANTOMJS_URL} | tar xj -C /usr/local/bin --strip 2 ${PHANTOMJS_BIN} \
&& apt-get remove -y bzip2 curl \
&& rm -rf /var/lib/apt/lists/*
ENV HOST 0.0.0.0
ENV PORT 5555
ENV HUB_HOST 127.0.0.1
ENV HUB_PORT 4444
CMD phantomjs --webdriver=$HOST:$PORT \
--webdriver-selenium-grid-hub=http://$HUB_HOST:$HUB_PORT

View File

@ -1,8 +0,0 @@
phantomjs:
image: vimagick/selenium-node-phantomjs
ports:
- "5555"
environment:
- HUB_HOST=1.2.3.4
- HUB_PORT=4444
restart: always