Skip to content

Commit

Permalink
[felix,sett] add phantomjs binary to image
Browse files Browse the repository at this point in the history
  • Loading branch information
sw00 committed Feb 9, 2017
1 parent 49366d2 commit 60d062b
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,14 @@ FROM alpine:3.5
MAINTAINER the-mast@thoughtworks.com

RUN apk add --update --no-cache gcc g++ make git curl
RUN apk add --update --no-cache python nodejs
RUN apk add --update --no-cache php5 php5-curl php5-openssl php5-json php5-phar php5-dom
RUN apk add --no-cache python nodejs
RUN apk add --no-cache php5 php5-curl php5-openssl php5-json php5-phar php5-dom
RUN npm install -g gulp-cli bower node-sass
RUN apk add --no-cache fontconfig && \
mkdir -p /usr/share && \
cd /usr/share \
&& curl -L https://github.com/Overbryd/docker-phantomjs-alpine/releases/download/2.11/phantomjs-alpine-x86_64.tar.bz2 | tar xj \
&& ln -s /usr/share/phantomjs/phantomjs /usr/bin/phantomjs
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/bin --filename=composer

CMD ["/bin/sh"]
Expand Down

0 comments on commit 60d062b

Please sign in to comment.