Skip to content

mackerelio/docker-mackerel-rpm-builder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 

Repository files navigation

mackerel-rpm-builder

What's this

This Docker image is used to build RPM packages in Dockernized envirionment. It's based on CentOS official Docker image.

This image is intended to build mackerel-agent, but maybe you can use this image to build another packages.

Usage

Use docker run ... instead of rpmbuild command.

Following example will work as rpmbuild -bb ./SPEC.spec and the artifact will be placed to ./rpmbuild/RPMS/.

$ docker run --rm -v "$(PWD)":/workspace -v "$(PWD)/rpmbuild":/rpmbuild astj:docker-mackerel-rpm-builder -bb SPEC.spec

Tags

  • c5 : based on centos:5
  • c6 : based on centos:6
  • c7 : based on centos:7

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published