blob: c864076d1214a453307cee4fd5aa505bb0ab84e6 [file] [log] [blame]
FROM golang:1.6-alpine
RUN apk --update add openssh-client git
WORKDIR /go
RUN go get github.com/tools/godep
ADD . /go/src/gerrit.opencord.org/maas/cord-maas-automation
WORKDIR /go/src/gerrit.opencord.org/maas/cord-maas-automation
RUN /go/bin/godep restore || true
WORKDIR /go
RUN go install gerrit.opencord.org/maas/cord-maas-automation
ENTRYPOINT ["/go/bin/cord-maas-automation"]