SEBA-267 Add ONU Performance Metrics to Kafka Exporter
Change-Id: I18902935a4654c3a241284093b8a456a226f707f
diff --git a/Dockerfile b/Dockerfile
index ef68715..29e46da 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -15,15 +15,15 @@
# docker build -t opencord/kafka-topic-exporter:latest .
# docker build -t 10.90.0.101:30500/opencord/kafka-topic-exporter:latest .
-FROM golang:latest as builder
-RUN mkdir /app
-ADD . /app/
-WORKDIR /app
+FROM golang:1.10-stretch as builder
+RUN mkdir /app
+ADD . /app/
+WORKDIR /app
RUN go get github.com/prometheus/client_golang/prometheus
RUN go get github.com/Shopify/sarama
-RUN CGO_ENABLED=0 GOOS=linux go build -o main .
+RUN CGO_ENABLED=0 GOOS=linux go build -o main .
-FROM alpine:latest
+FROM alpine:3.8
WORKDIR /app/
COPY --from=builder /app/main .
ENTRYPOINT ["./main"]
\ No newline at end of file