Developer guide

This document explains how to setup your dev environment.

Fetch dependency

We use glide to manage dependency. Install dependency if you haven't:

$ glide install --strip-vendor

How to build

We provide a script to build binaries, build image, and push image to registry.

Required tools:

  • Docker
  • Go 1.8+

Build in project root dir:

$ IMAGE=${your_image} hack/build/operator/build

IMAGE is the container image, e.g. "gcr.io/coreos/etcd-operator" .