Docker builder (a.k.a. "Bob") builds docker images from a friendly config file.
Clone or download
Pull request Compare This branch is 389 commits behind rafecolton:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
analyzer
builder
builderfile
dclient
docs
job
log
parser
releases
spec
version
.docker-builder-wrapper
.gitignore
.travis.yml
AUTHORS.md
Bobfile
Bobfile.all
Bobfile.base
Dockerfile
Dockerfile.base
Godeps
LICENSE
Makefile
README.md
TODO.md
build.go
config.go
helpers.go
initialize.go
lint.go
logger.go
main.go
serve.go

README.md

Welcome to Bob!

Build Status GoDoc

Bob, the docker-builder, builds, tags, and pushes multiple Docker images, all from a friendly Bobfile config file.

Quick Start

Steps to quick start:

# install docker-builder
go get github.com/modcloth/docker-builder

# create a Bobfile
docker-builder init .

# build the aforementioned Bobfile
docker-builder build Bobfile

More Reasonably-Paced Start

  1. Install docker-builder
  2. Explore the Writing a Bobfile doc
  3. Rundocker-builder --help
  4. Run docker-builder help build

First, Install docker-builder

Easiest

go get github.com/modcloth/docker-builder

From pre-compiled binaries

# on Mac OS X
curl -sL https://github.com/modcloth/docker-builder/releases/download/v0.4.1/docker-builder-v0.4.1-darwin-amd64.tar.gz | \
  tar -xzf - -C /usr/local --strip-components=1

# on Linux, note: you may need sudo
curl -sL https://github.com/modcloth/docker-builder/releases/download/v0.4.1/docker-builder-v0.4.1-linux-amd64.tar.gz | \
  sudo tar -xzf - -C /usr/local --strip-components=1

These commands will place docker-builder at /usr/local/bin/docker-builder, so to use docker-builder, make sure and check that /usr/local/bin is in your $PATH or change the -C option.

NOTE: You may see some junk output when running tar -xzf. This has something to do with the archives being build on Mac OSX. The output is harmless and safe to ignore.

From source

To build from source, run make build. You may have to install some things first, such as go.

Other Docs