Skip to content

Latest commit

 

History

History
29 lines (20 loc) · 603 Bytes

developer_guide.md

File metadata and controls

29 lines (20 loc) · 603 Bytes

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+
  • git, hg

Build in project root dir:

( under $GOPATH/src/github.com/coreos/etcd-operator/ )
$ IMAGE=${your_image} hack/build/operator/build

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