File tree Expand file tree Collapse file tree 1 file changed +4
-9
lines changed Expand file tree Collapse file tree 1 file changed +4
-9
lines changed Original file line number Diff line number Diff line change 1- FROM golang:1.14.4-alpine3.11 as build
1+ FROM golang:1.14.4-alpine3.12 as build
22
33# Get prebuilt libkafka.
4- # XXX stop using the edgecommunity channel once librdkafka 1.3.0+ is officially published
5- RUN echo "@edge http://dl-cdn.alpinelinux.org/alpine/edge/main" >> /etc/apk/repositories && \
6- echo "@edgecommunity http://dl-cdn.alpinelinux.org/alpine/edge/community" >> /etc/apk/repositories && \
7- apk add --no-cache alpine-sdk 'librdkafka@edgecommunity>=1.3.0' 'librdkafka-dev@edgecommunity>=1.3.0'
4+ RUN apk add --no-cache alpine-sdk 'librdkafka>=1.3.0' 'librdkafka-dev>=1.3.0'
85
96WORKDIR /src/prometheus-kafka-adapter
107ADD . /src/prometheus-kafka-adapter
118
129RUN go test
1310RUN go build -tags static -o /prometheus-kafka-adapter
1411
15- FROM alpine:3.11
12+ FROM alpine:3.12
1613
17- RUN echo "@edge http://dl-cdn.alpinelinux.org/alpine/edge/main" >> /etc/apk/repositories && \
18- echo "@edgecommunity http://dl-cdn.alpinelinux.org/alpine/edge/community" >> /etc/apk/repositories && \
19- apk add --no-cache 'librdkafka@edgecommunity>=1.3.0'
14+ RUN apk add --no-cache alpine-sdk 'librdkafka>=1.3.0'
2015
2116COPY --from=build /src/prometheus-kafka-adapter/schemas/metric.avsc /schemas/metric.avsc
2217COPY --from=build /prometheus-kafka-adapter /
You can’t perform that action at this time.
0 commit comments