No description, website, or topics provided.
Clone or download

README.md

Command Function Invoker Build Status

Purpose

The command function invoker provides a Docker base layer for a function consisting of a single command. It accepts HTTP requests and invokes the command for each request.

Development

Prerequisites

The following tools are required to build this project:

  • make
  • Docker
  • Glide for dependency management

If you intend to re-generate mocks for testing, install:

If you would like to run tests using the ginkgo command, install:

Get the source

cd $(go env GOPATH)   #defaults to ~/go
git clone -o upstream https://github.com/projectriff/command-function-invoker src/github.com/projectriff/command-function-invoker

Building

To build locally (this will produce a binary named command-function-invoker on your machine):

make build

To build the Docker base layer:

make dockerize

This assumes that your docker client is correctly configured to target the daemon where you want the image built.

To run tests:

make test