blob: 96d97a2876e0dcad0df39cfca8dc0830c1ee8553 [file] [log] [blame]
David K. Bainbridge8bc905c2016-05-31 14:07:10 -07001FROM golang:alpine
2
3RUN apk --update add git
4
5WORKDIR /go
6RUN go get github.com/tools/godep
7ADD . /go/src/github.com/ciena/cord-ip-allocator
8
9WORKDIR /go/src/github.com/ciena/cord-ip-allocator
10RUN /go/bin/godep restore
11
12WORKDIR /go
13
14RUN go install github.com/ciena/cord-ip-allocator
15
16ENTRYPOINT ["/go/bin/cord-ip-allocator"]