blob: d1b6318890bb57c01fa9a9c78b9d8ec83870cb0d [file] [log] [blame]
David K. Bainbridgeb5415042016-05-13 17:06:10 -07001FROM golang:alpine
2
3RUN apk --update add git
4
5WORKDIR /go
David K. Bainbridgeefa951d2016-05-26 10:54:25 -07006RUN go get github.com/tools/godep
7ADD . /go/src/github.com/ciena/cord-maas-automation
8
9WORKDIR /go/src/github.com/ciena/cord-maas-automation
10RUN /go/bin/godep restore
11
12WORKDIR /go
13
14RUN go install github.com/ciena/cord-maas-automation
David K. Bainbridgeb5415042016-05-13 17:06:10 -070015
16ENTRYPOINT ["/go/bin/cord-maas-automation"]