mirror of
https://github.com/fleetdm/fleet
synced 2026-05-24 09:28:54 +00:00
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/...`).
13 lines
312 B
Docker
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
|