Skip to content

Commit 2888327

Browse files
Add missing shared libraries
These are required for phantomjs to work.
1 parent c5ea3ff commit 2888327

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ FROM ruby:2.1.2
44
# we purge this later to make sure our final image uses what we just built
55
RUN apt-get update
66
RUN echo "export phantomjs=/usr/bin/phantomjs" > .bashrc
7-
RUN apt-get install -y libfreetype6 libfontconfig1 nodejs npm
7+
RUN apt-get install -y libfreetype6 libfontconfig1 nodejs npm libnss3-dev libgconf-2-4
88
RUN ln -s /usr/bin/nodejs /usr/bin/node
99
RUN npm install npm
1010

0 commit comments

Comments
 (0)