Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/brodock/docker-build-ruby
A Dockerfile to build rubies using build-ruby
https://github.com/brodock/docker-build-ruby
Last synced: about 1 month ago
JSON representation
A Dockerfile to build rubies using build-ruby
- Host: GitHub
- URL: https://github.com/brodock/docker-build-ruby
- Owner: brodock
- License: mit
- Created: 2014-10-30T03:19:58.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2015-01-03T06:00:55.000Z (almost 10 years ago)
- Last Synced: 2023-04-13T14:04:25.654Z (over 1 year ago)
- Size: 137 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Dockerfile brodock/build-ruby
This Docker image will contain ruby-build and everything needed to build
every single ruby binary, for the most recent ubuntu LTS version.We will store then on /opt/rubies to make it easily accessible for
chruby, as a side effect, and make it easier to package with fpm.The ultimate goal here is to be able to package every ruby runtime as a
system ruby.Free bonus of packaging:
* Will not mess with $PATH
* Will not mess with `cd`
* Will work fine with CRONs
* Will work fine with sudo
* No more shims## Build your own image
```
docker build -t .
```## Usage
```
docker run -i -t brodock/build-ruby /opt/ruby-build/bin/ruby-build -k 2.1.3 /opt/rubies
```