You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1-74Lines changed: 1 addition & 74 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,20 +2,17 @@
2
2
3
3
A Docker image for Ruby, built with [`jemalloc`](https://scalingo.com/blog/improve-ruby-application-memory-jemalloc).
4
4
5
-
The images are based on [the offical Ruby "slim"](https://hub.docker.com/_/ruby)and [official Ubuntu "22.04"/"24.04" (LTS) images](https://hub.docker.com/_/ubuntu)on Docker Hub.
5
+
The images are based on [the offical Ruby "slim"](https://hub.docker.com/_/ruby) on Docker Hub.
6
6
7
7
The following images are used:
8
8
9
9
-`ruby:${RUBY_VERSION}-slim`
10
-
-`ubuntu:22.04`
11
-
-`ubuntu:24.04`
12
10
13
11
The following platforms are built:
14
12
15
13
-`linux/amd64`
16
14
-`linux/arm64`
17
15
18
-
19
16
The following Ruby versions are built:
20
17
21
18
-`3.1.4`
@@ -24,76 +21,6 @@ The following Ruby versions are built:
24
21
25
22
Images for Ruby >= 3.2.x are compiled with [YJIT](https://github.com/ruby/ruby/blob/master/doc/yjit/yjit.md) support.
26
23
27
-
Container images are available but no longer maintained for the following versions:
28
-
29
-
-`3.0.4`
30
-
-`3.0.5`
31
-
-`3.0.6`
32
-
-`3.1.2`
33
-
-`3.1.3`
34
-
-`3.1.4`
35
-
-`3.2.0`
36
-
-`3.2.1`
37
-
-`3.2.2`
38
-
-`3.2.3`
39
-
40
-
and the following platforms:
41
-
42
-
-`ubuntu-20.04`
43
-
44
-
## Support for newer Ruby versions
45
-
46
-
GitHub Actions is set up to gather the latest available Ruby versions with the [ruby-versions-action](https://github.com/moritzheiber/ruby-versions-action) and feed it to the build process. The plan is to run the build pipeline and update the REAMDE from a template regularly (e.g. weekly) in the future. For now this has to be done manually, so feel free to open a new issue once a new release needs to be supported (it usually takes a few minutes to trigger the pipeline and update the README).
47
-
48
-
## Compiling your own image
49
-
50
-
The `Dockerfile` is set up in a way which makes it possible to compile pretty much any recent Ruby release [from the index on the ruby-lang.org website](https://cache.ruby-lang.org/pub/ruby/index.txt). The only two build arguments you need to provide are `RUBY_VERSION` (e.g. `3.1.2`) and the associated `sha256` checksum as `RUBY_CHECKSUM` (e.g. `ca10d017f8a1b6d247556622c841fc56b90c03b1803f87198da1e4fd3ec3bf2a`) of the `tar.gz` package associated with the relevant version.
51
-
52
-
You can always use the [ruby-version-checker](https://github.com/moritzheiber/ruby-version-checker-rs) container to fetch the latest available Ruby releases and their corresponding checksums:
53
-
54
-
```console
55
-
$ docker run ghcr.io/moritzheiber/ruby-version-checker
If you wish to pass additional compile-time options you can use the build argument `ADDITIONAL_FLAGS` (e.g. to enable YJIT support for Ruby >= `3.2.x`):
The `Dockerfile` uses [the official Ruby `slim` image](https://hub.docker.com/_/ruby) by default, but you can also use your own base image by passing the build argument `IMAGE_NAME`:
0 commit comments