Skip to content
Permalink
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/github.com/infinimesh/infinimesh/go.mod
ADD . /go/src/github.com/infinimesh/infinimesh
WORKDIR /go/src/github.com/infinimesh/infinimesh
RUN cd /go/src/github.com/infinimesh/infinimesh && CGO_ENABLED=0 go build ./cmd/grafana-proxy/

FROM scratch
WORKDIR /
COPY --from=builder /go/src/github.com/infinimesh/infinimesh/grafana-proxy /grafana-proxy
ENTRYPOINT ["/grafana-proxy"]

0 comments on commit 732fa52

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