Skip to content

ReSTARTR/ruby-rpmbuild-container

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build ruby rpm on Docker container

  1. Start the guest machine
$ vagrant up
$ vagrant ssh
  1. Build docker container
$ cd /vagrant
$ sudo docker build -t <USERNAME>/rubybuild .
  1. rpmbuild in the container
$ sudo docker run --rm -it <CONTAINER> /bin/sh ./rubybuild.sh
  1. check the rpm file on virtual machine
$ ls *.rpm
ruby-2.0.0p481-2.el6.x86_64.rpm

Enjoy!

Releases

No releases published

Packages

No packages published

Languages