Skip to content

Commit

Permalink
cmd/ocprometheus: add Dockerfile
Browse files Browse the repository at this point in the history
Change-Id: Iac5fe8e19bb8e694554f0fa5fbbd926a31444473
  • Loading branch information
7AC committed Jan 22, 2020
1 parent 61d40af commit 4e6974b
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions cmd/ocprometheus/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Copyright (c) 2020 Arista Networks, Inc.
# Use of this source code is governed by the Apache License 2.0
# that can be found in the COPYING file.

FROM golang:1.13.6

RUN mkdir -p /go/src/github.com/aristanetworks/goarista/cmd
WORKDIR /go/src/github.com/aristanetworks/goarista
COPY ./ .
RUN go get -d ./cmd/ocprometheus/... \
&& go install ./cmd/ocprometheus

ENTRYPOINT ["/go/bin/ocprometheus"]

0 comments on commit 4e6974b

Please sign in to comment.