Last active
December 11, 2015 20:08
-
-
Save Erliz/f56d35d5e6bdae7081a3 to your computer and use it in GitHub Desktop.
gemini
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM node | |
RUN npm install -g gemini | |
RUN apt-get update \ | |
&& apt-get install -y --no-install-recommends \ | |
build-essential \ | |
chrpath \ | |
libssl-dev \ | |
libxft-dev \ | |
libfreetype6 \ | |
libfreetype6-dev \ | |
libfontconfig1 \ | |
libfontconfig1-dev \ | |
&& rm -rf /var/lib/apt/lists/* | |
ENV PHANTOM_JS phantomjs-1.9.8-linux-x86_64 | |
RUN cd /usr/local/share \ | |
&& wget -q --no-check-certificate https://bitbucket.org/ariya/phantomjs/downloads/$PHANTOM_JS.tar.bz2 \ | |
&& tar -xjf $PHANTOM_JS.tar.bz2 \ | |
&& rm -f $PHANTOM_JS.tar.bz2 \ | |
&& ln -sf /usr/local/share/$PHANTOM_JS/bin/phantomjs /usr/local/bin | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment