Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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: 3 months ago
JSON representation

Minimal Ruby docker image with native extensions support

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/