Skip to content

Docker Container for building CloudRouter Centos-based RPMs

Notifications You must be signed in to change notification settings

cloudrouter/rpmbuilder-centos

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

rpmbuilder-centos

Docker Image for building CloudRouter CentOS-based RPMs

Non-interactive build

SOURCES=`pwd`/sources
TARGET=`pwd`/target
mkdir -p ${TARGET}
docker run --rm \
  -v ${SOURCES}:/sources:Z \
  -v ${TARGET}:/target:Z \
  cloudrouter/rpmbuilder-centos

${SOURCES} is where the RPM source project and/or spec file is located.

You should see your build output in the ${TARGET} directory.

Interactive builds

TARGET=`pwd`/target
mkdir -p ${TARGET}
docker run --rm -it --entrypoint /usr/bin/bash \
  -v ${SOURCES}:/sources:Z \
  -v ${TARGET}:/target:Z \
  cloudrouter/rpmbuilder-centos

About

Docker Container for building CloudRouter Centos-based RPMs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 58.0%
  • Dockerfile 42.0%