2018-01-29 19:44:18 +00:00
|
|
|
# Copyright (c) 2016 Arista Networks, Inc.
|
|
|
|
# Use of this source code is governed by the Apache License 2.0
|
|
|
|
# that can be found in the COPYING file.
|
|
|
|
|
|
|
|
# TODO: move this to cmd/ockafka (https://github.com/docker/hub-feedback/issues/292)
|
2018-09-05 15:36:14 +00:00
|
|
|
FROM golang:1.10.3
|
2018-01-29 19:44:18 +00:00
|
|
|
|
|
|
|
RUN mkdir -p /go/src/github.com/aristanetworks/goarista/cmd
|
|
|
|
WORKDIR /go/src/github.com/aristanetworks/goarista
|
|
|
|
COPY ./ .
|
|
|
|
RUN go get -d ./cmd/ockafka/... \
|
|
|
|
&& go install ./cmd/ockafka
|
|
|
|
|
|
|
|
ENTRYPOINT ["/go/bin/ockafka"]
|