blob: d1b6318890bb57c01fa9a9c78b9d8ec83870cb0d [file] [log] [blame]
FROM golang:alpine
RUN apk --update add git
WORKDIR /go
RUN go get github.com/tools/godep
ADD . /go/src/github.com/ciena/cord-maas-automation
WORKDIR /go/src/github.com/ciena/cord-maas-automation
RUN /go/bin/godep restore
WORKDIR /go
RUN go install github.com/ciena/cord-maas-automation
ENTRYPOINT ["/go/bin/cord-maas-automation"]