Skip to content

Commit

Permalink
Incomplete attempt to get phantomjs working
Browse files Browse the repository at this point in the history
Looks like there are a number of efforts to get phantomjs working under Alpine,
but it's not quite possible.

See ariya/phantomjs#14186 as a good starting point
  • Loading branch information
md5 committed Jun 28, 2016
1 parent 901970e commit ef480d1
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ RUN apk add --no-cache nodejs
ENV PHANTOMJS_VERSION 2.1.1
ENV PHANTOMJS_SHA256 86dd9a4bf4aee45f1a84c9f61cf1947c1d6dce9b9e8d2a907105da7852460d2f

# Install runtime dependencies for phantomjs
RUN apk add --no-cache --virtual .phantomjs-rundeps \
fontconfig \
libc6-compat

RUN curl -o phantomjs.tar.bz2 -f -sSL "https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-$PHANTOMJS_VERSION-linux-x86_64.tar.bz2" \
&& echo "$PHANTOMJS_SHA256 *phantomjs.tar.bz2" | sha256sum -c - \
&& tar -xjf phantomjs.tar.bz2 -C /usr/local \
Expand Down

0 comments on commit ef480d1

Please sign in to comment.