Commit 69969fc
committed
Update Dockerfile for Ruby 3.1
While working on Ruby 3 support several months ago, I noticed the
[Dockerfile](https://github.com/jekyll/classifier-reborn/blob/c3e5a84c3e0915d20ab52f2b783703575584d4a2/Dockerfile)
was really stale. I didn't immediately fix this at the time, but made a
mental note to come back to it sometime.
This Dockerfile is intended to be used for development. It was added in
jekyll#104 (discussed in
detail at jekyll#101). The
documentation for using this is still available (and accurate) at
https://jekyll.github.io/classifier-reborn/development#development-using-docker.
classifier-reborn currently supports ruby 2.7, 3.0, and 3.1 (as you can
see in `ci.yml`). Since we can only (easily) put one ruby version in the
Dockerfile, using the most recent version made sense to me. Doing so
means we have to use Numo instead of GSL since GSL isn't currently
supported on Ruby 3.x.1 parent d54ec5d commit 69969fc
1 file changed
+3
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
| 1 | + | |
3 | 2 | | |
4 | 3 | | |
5 | 4 | | |
6 | | - | |
7 | | - | |
| 5 | + | |
| 6 | + | |
8 | 7 | | |
9 | 8 | | |
10 | 9 | | |
| |||
0 commit comments