Created
August 5, 2014 21:44
-
-
Save xymostech/68d885cb6a4ff7a6e2ed to your computer and use it in GitHub Desktop.
Huxley Dockerfile
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 ubuntu:14.04 | |
MAINTAINER xymostech <[email protected]> | |
RUN apt-get -qq update | |
RUN apt-get -qqy install nodejs default-jre firefox xvfb || true | |
RUN apt-get -qqy install wget | |
RUN wget http://selenium-release.storage.googleapis.com/2.42/selenium-server-standalone-2.42.2.jar | |
RUN ln -s /usr/bin/nodejs /usr/bin/node | |
ENV DISPLAY :1 | |
CMD /bin/bash ~/run.sh | |
RUN echo "java -jar /selenium-server-standalone-2.42.2.jar > /dev/null &" >> ~/run.sh | |
RUN echo "Xvfb :1 2> /dev/null &" >> ~/run.sh | |
RUN echo "make -C /KaTeX serve > /dev/null &" >> ~/run.sh | |
RUN echo "sleep 2" >> ~/run.sh | |
RUN echo "/KaTeX/node_modules/.bin/hux --update /KaTeX/test/huxley/" >> ~/run.sh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment