We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fe23c95 commit 81a6010Copy full SHA for 81a6010
Dockerfile
@@ -1,7 +1,13 @@
1
-FROM mkenney/npm:latest
+FROM centos:latest
2
MAINTAINER Elliot Schlegelmilch <elliot@schlegelmilch.org>
3
4
+RUN yum install -y wget epel-release bzip2 && yum install -y npm fontconfig
5
+RUN mkdir -p /usr/local/bin
6
+
7
+RUN cd /tmp; wget https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-2.1.1-linux-x86_64.tar.bz2 && \
8
+ bunzip2 phantomjs-2.1.1-linux-x86_64.tar.bz2 && \
9
+ tar -x -f phantomjs-2.1.1-linux-x86_64.tar; mv phantomjs-2.1.1-linux-x86_64/bin/phantomjs /usr/bin/ && rm -Rf /tmp/phantom*
10
11
RUN npm install -g uncss
12
-ENTRYPOINT []
-CMD []
13
+CMD [ "/bin/sh" ]
0 commit comments