GitHub Repository

GoDoc

Package go-build is an isolated version of the old build package I wrote for Inertia, a command-line application that enables easy, self-hosted continuous deployment. It provides a Golang API for executing Dockerfile, docker-compose, and Herokuish builds and deployments.

The package is still WIP and in the process of being cleaned up, but the bulk of the code has been in active use in Inertiad for a while - see package inertiad/build.

I briefly cover the mechanics of the code used here in my Medium post about an early version of Inertia. I also talk about some of the techniques used in my post about Docker-in-Docker builds.