Skip to content
This repository has been archived by the owner on Apr 9, 2020. It is now read-only.

OpsRockin/omnibus_base_ubuntu14

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 

Repository files navigation

omnibus_base_ubuntu14

https://hub.docker.com/r/opsrock/omnibus_base_ubuntu14/

Omnibus by Docker Bros.

Auto build policies

build via IFTTT.

  • gem omnibus master branch updated.
  • gem omnibus-software master branch updated.
  • cookbook omnibus new version released.

Usage

First, create empty Dockerfile for your omnibus-project.

for *.deb, Dockerfile.ubuntu1404.

FROM opsrock/omnibus_base_ubuntu14
MAINTAINER you

for *.rpm, Dockerfile.centos6.

FROM opsrock/omnibus_base_centos6
MAINTAINER you

Build once to execute ONBUILD

## DEB
$ docker build -t omnibus_myproject-ubuntu1404 -f Dockerfile.ubuntu1404 .

## RPM
$ docker build -t omnibus_myproject-centos6 -f Dockerfile.centos6 .

Run to create package!

Run with passing your project name via env OMNIBUS_PROJECT.

## DEB
$ docker run -e OMNIBUS_PROJECT=serverspec -v pkg:/home/omnibus/omnibus-project/pkg omnibus_myproject-ubuntu1404

## RPM
$ docker run -e OMNIBUS_PROJECT=serverspec -v pkg:/home/omnibus/omnibus-project/pkg omnibus_myproject-centos6

Packages will be created in ./pkg/ directory.

Tips

Recycle build cache

mount cache volume and pass path of cache via env.

-e BUILD_CACHE_PATH=YOUR_CACHE_PATH

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published