https://github.com/dannyben/docker-alpine-ruby
Minimal Ruby docker image with native extensions support
https://github.com/dannyben/docker-alpine-ruby
alpine docker-alpine-ruby ruby ruby-docker-image
Last synced: 10 months ago
JSON representation
Minimal Ruby docker image with native extensions support
- Host: GitHub
- URL: https://github.com/dannyben/docker-alpine-ruby
- Owner: DannyBen
- Created: 2017-03-25T15:43:52.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2024-08-21T06:21:07.000Z (almost 2 years ago)
- Last Synced: 2025-04-18T14:54:34.091Z (about 1 year ago)
- Topics: alpine, docker-alpine-ruby, ruby, ruby-docker-image
- Language: Dockerfile
- Homepage:
- Size: 19.5 KB
- Stars: 5
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Docker Alpine Ruby Image
This is the smallest possible Ruby docker image, with ability to
build native extension gems.
This image is available in several alpine and ruby versions. See
[available tags][3].
```shell
# Start bash
$ docker run -it --rm dannyben/alpine-ruby
# Start IRB
$ docker run -it --rm dannyben/alpine-ruby irb
# Show gem environment
$ docker run --rm dannyben/alpine-ruby gem env
```
## Development
Use the docker-compose to build and test:
```bash
$ docker compose build
$ docker compose run --rm version
```
Image is built using GitHub Actions by pushing a ruby version tag in the form
of `3.1.0` **without `v` as prefix**, or via manual dispatch.
---
- [View on Docker Hub][1]
- [View on GitHub][2]
[1]: https://hub.docker.com/r/dannyben/alpine-ruby/
[2]: https://github.com/DannyBen/docker-alpine-ruby
[3]: https://hub.docker.com/r/dannyben/alpine-ruby/tags/