fleet/Dockerfile
Jason Meller d9f776c756 Use Godep to vendor in all dependencies (#40)
This commit vendors in all of our dependencies using
[GoDep](https://github.com/tools/godep). We are forgoing using a vendor/ folder to avoid checking in deps into the repo.

Note: Never manually modify `Godeps/Godeps.json` this file is dynamically
by the godep CLI

Common Actions:

To add a new package foo/bar, do this:

1. Run `go get foo/bar`
1. Edit your code to import foo/bar.
1. Run `godep save` (or `godep save ./...`).

To update a package from your `$GOPATH`, do this:

1. Run `go get -u foo/bar`
1. Run `godep update foo/bar`. (You can use the `...` wildcard, for example
`godep update foo/...`).
2016-08-04 16:57:22 -04:00

13 lines
312 B
Docker

FROM golang:1.6.3-wheezy
MAINTAINER engineering@kolide.co
RUN mkdir -p /go/src/app
WORKDIR /go/src/app
COPY . /go/src/app
# Download and install any required third party dependencies into the container.
RUN go get github.com/tools/godep
RUN godep restore
RUN go build -o /go/src/app/kolide
CMD ./kolide serve