github.com/aristanetworks/goarista@v0.0.0-20240514173732-cca2755bbd44/cmd/ocprometheus/Dockerfile (about) 1 # Copyright (c) 2020 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 FROM golang:1.13.6 6 7 RUN mkdir -p /go/src/github.com/aristanetworks/goarista/cmd 8 WORKDIR /go/src/github.com/aristanetworks/goarista 9 COPY ./ . 10 RUN go get -d ./cmd/ocprometheus/... \ 11 && go install ./cmd/ocprometheus 12 13 ENTRYPOINT ["/go/bin/ocprometheus"]