Update building stuff
- Add a Makefile with common targets (binary, test, validate, ..) - Use docker to build it (isolated) And update circleci to work with the new Makefile.. Signed-off-by: Vincent Demeester <vincent@sbr.pm>
This commit is contained in:
parent
fd835e1fcd
commit
0ea80582d2
14 changed files with 278 additions and 10 deletions
27
build.Dockerfile
Normal file
27
build.Dockerfile
Normal file
|
@ -0,0 +1,27 @@
|
|||
FROM golang:1.5
|
||||
|
||||
RUN go get github.com/mitchellh/gox
|
||||
RUN go get github.com/tcnksm/ghr
|
||||
# Install dependencies
|
||||
RUN go get github.com/BurntSushi/toml \
|
||||
&& go get github.com/BurntSushi/ty/fun
|
||||
RUN go get github.com/mailgun/oxy/forward \
|
||||
&& go get github.com/mailgun/oxy/roundrobin
|
||||
RUN go get github.com/gorilla/handlers \
|
||||
&& go get github.com/gorilla/mux
|
||||
RUN go get github.com/cenkalti/backoff \
|
||||
&& go get github.com/codegangsta/negroni \
|
||||
&& go get github.com/op/go-logging \
|
||||
&& go get github.com/elazarl/go-bindata-assetfs \
|
||||
&& go get github.com/leekchan/gtf \
|
||||
&& go get github.com/thoas/stats \
|
||||
&& go get github.com/tylerb/graceful \
|
||||
&& go get github.com/unrolled/render
|
||||
RUN go get github.com/fsouza/go-dockerclient \
|
||||
&& go get github.com/gambol99/go-marathon
|
||||
RUN go get gopkg.in/fsnotify.v1 \
|
||||
&& go get gopkg.in/alecthomas/kingpin.v2
|
||||
|
||||
WORKDIR /go/src/github.com/emilevauge/traefik
|
||||
|
||||
COPY . /go/src/github.com/emilevauge/traefik
|
Loading…
Add table
Add a link
Reference in a new issue