And the dockerfiles have been moved to https://github.com/flavorjones/truffleruby/tree/master/tool/dockerfiles
PR to upstream TruffleRuby has been submitted at https://github.com/oracle/truffleruby/pull/2405
Please visit ghcr.io/flavorjones/truffleruby for the latest unofficial truffleruby images.
This project contains configuration for an unofficial TruffleRuby Docker/OCI image.
Those images are published at https://hub.docker.com/r/flavorjones/truffleruby
The Dockerfiles are published at https://github.com/flavorjones/docker-truffleruby
There are two basic flavors right now:
- Debian Buster (
buildpack-deps:buster
) (~400MB compressed) - Debian Buster "Slim" (
debian:buster-slim
) (~170MB compressed)
Tags:
-
latest
,stable
,21.1.0
,21.1.0-buster
,buster
- TruffleRuby 21.1.0 based on Buster -
21.1.0-buster-slim
,buster-slim
- TruffleRuby 21.1.0 based on Buster "Slim" -
nightly
,nightly-buster
- Latest Nightly based on Buster -
nightly-buster-slim
- Latest Nightly based on Buster "Slim"
As of 2020-10-01, the standalone TruffleRuby image isn't compatible with musl
(meaning it isn't compatible with Alpine). You can read more about that in https://github.com/oracle/truffleruby/issues/1449.
The Dockerfiles are generated by update-dockerfiles
which is easily extensible to other base images in the future.
This project also contains a Concourse pipeline to kick off an Docker Hub automated build every 24 hours so that up-to-date images of the TruffleRuby nightly version are created. See ci/pipeline.yml
.
That pipeline lives at https://ci.nokogiri.org/teams/flavorjones/pipelines/docker-truffleruby
I've done my best to make this image behave like the official CRuby and JRuby container images, especially when it comes to gem install
and bundle install
behavior. For reference and comparison:
- CRuby: docker hub, dockerfiles
- JRuby: docker hub, dockerfiles
The Dockerfiles and scripts in this repo are MIT. See LICENSE.
TruffleRuby itself is Eclipse 2.0, GNU GPL 2, or GNU LGPL 2.1.. See LICENSE-DEPENDENCIES.