phantomjs docker for Raspberry Pi
662
steal from Overbryd/docker-phantomjs-alpine
base image: hypriot/rpi-alpine-scratch:v3.3
2 GB swap
4-5 hours
1.7 GB image
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
Content type
Image
Digest
Size
993.9 MB
Last updated
over 9 years ago
docker pull yangxuan8282/rpi-alpine-phantomjs