FROM ruby:2.5.1
#
# Phantomjs
#
RUN cd /tmp \
wget -U "" https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-2.1.1-linux-x86_64.tar.bz2 \
tar xfj phantomjs-2.1.1-linux-x86_64.tar.bz2 \
cp /tmp/phantomjs-2.1.1-linux-x86_64/bin/phantomjs /usr/local/bin
#
# ImageMagick
#
RUN apt-get update -y && \
apt-get install build-essential checkinstall -y && \
cd /tmp && \
wget http://www.imagemagick.org/download/ImageMagick-7.0.7-32.tar.gz && \
tar xf ImageMagick-7.0.7-32.tar.gz && \
cd ImageMagick-7.0.7-32 && \
./configure && \
make && \
checkinstall -y && \
make install && \
ldconfig /usr/local/lib
Content type
Image
Digest
Size
327.1 MB
Last updated
over 8 years ago
docker pull cuon/ruby-251-phantomjs