Based on https://github.com/usualoma/ruby-with-therubyracer which is subsequently based on https://github.com/teradiot/alpine-ruby-libv8. Both were broken for newer versions of Libv8 at time of writing.
This version enables one of the most current versions of libv8. To test this image run the following command:
$ docker run --rm argu/alpine-v8 ruby -rmini_racer -e "p MiniRacer::Context.new.eval('7 * 6')"
42
The ruby gems mini_racer and libv8 are both installed in this image.
The gem itself is saved to:
/root/pkg/libv8-$LIBV8_VERSION.gem
Content type
Image
Digest
Size
100.3 MB
Last updated
about 9 years ago
docker pull argu/alpine-v8