2015-09-15 19:38:54 +00:00
|
|
|
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 \
|
2015-09-19 11:02:59 +00:00
|
|
|
&& go get github.com/mailgun/oxy/roundrobin \
|
|
|
|
&& go get github.com/mailgun/oxy/cbreaker \
|
|
|
|
&& go get github.com/mailgun/predicate
|
2015-09-15 19:38:54 +00:00
|
|
|
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
|
2015-09-19 12:56:28 +00:00
|
|
|
RUN go get github.com/hashicorp/consul/api
|
2015-09-15 19:38:54 +00:00
|
|
|
|
|
|
|
WORKDIR /go/src/github.com/emilevauge/traefik
|
|
|
|
|
|
|
|
COPY . /go/src/github.com/emilevauge/traefik
|