Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/dannyben/docker-alpine-ruby
- Owner: DannyBen
- Created: 2017-03-25T15:43:52.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2024-08-21T06:21:07.000Z (4 months ago)
- Last Synced: 2024-10-06T05:20:06.004Z (3 months ago)
- Topics: alpine, docker-alpine-ruby, ruby, ruby-docker-image
- Language: Dockerfile
- Homepage:
- Size: 19.5 KB
- Stars: 4
- Watchers: 4
- 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/