Dockerfile 469 B

123456789101112131415
  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. # TODO: move this to cmd/ockafka (https://github.com/docker/hub-feedback/issues/292)
  5. FROM golang:1.10.1
  6. RUN mkdir -p /go/src/notabug.org/themusicgod1/goarista/cmd
  7. WORKDIR /go/src/notabug.org/themusicgod1/goarista
  8. COPY ./ .
  9. RUN go get -d ./cmd/ockafka/... \
  10. && go install ./cmd/ockafka
  11. ENTRYPOINT ["/go/bin/ockafka"]