Sign inSign up

yangxuan8282/rpi-alpine-phantomjs

By yangxuan8282

•Updated over 9 years ago

phantomjs docker for Raspberry Pi

Image
2

662

yangxuan8282/rpi-alpine-phantomjs repository overview

⁠phantomjs docker for Raspberry Pi

⁠FROM

steal from Overbryd/docker-phantomjs-alpine⁠

base image: hypriot/rpi-alpine-scratch:v3.3

⁠BUILD
  • 2 GB swap

  • 4-5 hours

  • 1.7 GB image

⁠RUN

Include the binary in your Alpine Dockerfile like this:

RUN apk update && apk add --no-cache fontconfig curl \
  && mkdir -p /usr/share \
  && cd /usr/share \
  && curl -L https://github.com/yangxuan8282/docker-image/releases/download/2.1.1/phantomjs-2.1.1-alpine-arm.tar.xz | tar xJ \
  && ln -s /usr/share/phantomjs/phantomjs /usr/bin/phantomjs \
  && phantomjs --version
⁠Dockerfile

yangxuan8282/rpi-alpine-phantomjs⁠

Tag summary

Content type

Image

Digest

Size

993.9 MB

Last updated

over 9 years ago

docker pull yangxuan8282/rpi-alpine-phantomjs