Skip to content
Browse files

add grafana-proxy Dockerfile

  • Loading branch information...
birdayz committed May 2, 2019
1 parent dfd82de commit 732fa52e53eda6b04e72b05f9d1705694e7b275b
Showing with 10 additions and 0 deletions.
  1. +10 −0 Dockerfiles/grafana-proxy/Dockerfile
@@ -0,0 +1,10 @@
FROM golang:1.11 AS builder
ADD go.mod /go/src/
ADD . /go/src/
WORKDIR /go/src/
RUN cd /go/src/ && CGO_ENABLED=0 go build ./cmd/grafana-proxy/

FROM scratch
COPY --from=builder /go/src/ /grafana-proxy
ENTRYPOINT ["/grafana-proxy"]

0 comments on commit 732fa52

Please sign in to comment.
You can’t perform that action at this time.