github.com/Psiphon-Inc/goarista@v0.0.0-20160825065156-d002785f4c67/Dockerfile (about) 1 # Copyright (C) 2016 Arista Networks, Inc. 2 # Use of this source code is governed by the Apache License 2.0 3 # that can be found in the COPYING file. 4 5 # TODO: move this to cmd/ockafka (https://github.com/docker/hub-feedback/issues/292) 6 FROM golang:1.6 7 8 RUN mkdir -p /go/src/github.com/aristanetworks/goarista/cmd 9 WORKDIR /go/src/github.com/aristanetworks/goarista 10 COPY ./ . 11 RUN go get -d ./cmd/ockafka/... \ 12 && go install ./cmd/ockafka 13 14 ENTRYPOINT ["/go/bin/ockafka"]