Skip to content

Commit 81a6010

Browse files
authored
Update Dockerfile
rework base image for use with gitlabci.
1 parent fe23c95 commit 81a6010

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

Dockerfile

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,13 @@
1-
FROM mkenney/npm:latest
1+
FROM centos:latest
22
MAINTAINER Elliot Schlegelmilch <elliot@schlegelmilch.org>
33

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+
411
RUN npm install -g uncss
512

6-
ENTRYPOINT []
7-
CMD []
13+
CMD [ "/bin/sh" ]

0 commit comments

Comments
 (0)