Forked from hansode's ruby-2.1.x-rpm project at https://github.com/hansode/ruby-2.1.x-rpm and updated for 2.2.2.
It's Simple.
- Create your feature branch(e.g ruby-2.2.4)
- Edit
ruby.spec
- Push to the branch.
- Create a Pull request.
- When the Pull request is merged, CircleCI will release ruby rpms to https://github.com/feedforce/ruby-rpm/releases .
This project uses Docker to build RPMs.
The Docker images are hosted at Docker Hub.
- For CentOS 7:
feedforce/ruby-rpm:centos7
- For CentOS 6:
feedforce/ruby-rpm:centos6
The Docker images will be built at Docker Hub automatically.
- Commit changes about
Dockerfile-{6,7}
to a feature branch - Push the feature branch to GitHub repository
- Merge the feature branch to the master branch
- Wait for building Docker images by Docker Hub Automated Build
You can also build Docker images manually.
$ docker build -t feedforce/ruby-rpm:centos7 -f Dockerfile-7 .
$ docker build -t feedforce/ruby-rpm:centos6 -f Dockerfile-6 .
Push to Docker Hub if necessary.
$ docker login
$ docker push feedforce/ruby-rpm:centos7
$ docker push feedforce/ruby-rpm:centos6