From 2888327cb635b183ad461f9946d964d2c2c47942 Mon Sep 17 00:00:00 2001 From: Greg Hill Date: Tue, 7 Nov 2017 14:38:08 -0600 Subject: [PATCH] Add missing shared libraries These are required for phantomjs to work. --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index bc5a4ee5..37c328ee 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,7 +4,7 @@ FROM ruby:2.1.2 # we purge this later to make sure our final image uses what we just built RUN apt-get update RUN echo "export phantomjs=/usr/bin/phantomjs" > .bashrc -RUN apt-get install -y libfreetype6 libfontconfig1 nodejs npm +RUN apt-get install -y libfreetype6 libfontconfig1 nodejs npm libnss3-dev libgconf-2-4 RUN ln -s /usr/bin/nodejs /usr/bin/node RUN npm install npm RUN npm install -g phantomjs@2.1.7 casperjs@1.1.1