From 41e1e56b7c513a635886b234cce9e9c57b2b1264 Mon Sep 17 00:00:00 2001 From: Lars Henrik Mai Date: Tue, 8 Mar 2016 08:58:31 +0100 Subject: [PATCH] Add phantomjs to docker container --- Dockerfile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Dockerfile b/Dockerfile index 827eaab..f94ac33 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,6 +4,11 @@ RUN apt-get update && apt-get install -y build-essential zlib1g-dev libsqlite3-d RUN mkdir -p /app WORKDIR /tmp + +RUN wget https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-2.1.1-linux-x86_64.tar.bz2 +RUN tar xvvjf phantomjs-2.1.1-linux-x86_64.tar.bz2 +RUN ln -sf /tmp/phantomjs-2.1.1-linux-x86_64/bin/phantomjs /usr/local/bin/ + COPY Gemfile Gemfile COPY Gemfile.lock Gemfile.lock RUN bundle install