Skip to content

Commit

Permalink
chore: bump to alpine 3.11
Browse files Browse the repository at this point in the history
  • Loading branch information
palmerabollo committed Mar 2, 2020
1 parent 87eeb27 commit c28aa2f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
FROM golang:1.13.6-alpine3.10 as build
FROM golang:1.13.8-alpine3.11 as build

RUN echo "@edge http://dl-cdn.alpinelinux.org/alpine/edge/main" >> /etc/apk/repositories
RUN echo "@edgecommunity http://dl-cdn.alpinelinux.org/alpine/edge/community" >> /etc/apk/repositories
RUN echo "@edgecommunity http://dl-cdn.alpinelinux.org/alpine/edge/community" >> /etc/apk/repositories
RUN apk add --no-cache alpine-sdk 'librdkafka@edgecommunity>=1.3.0' 'librdkafka-dev@edgecommunity>=1.3.0'

WORKDIR /src/prometheus-kafka-adapter
ADD . /src/prometheus-kafka-adapter

RUN go build -o /prometheus-kafka-adapter

FROM alpine:3.10
FROM alpine:3.11

RUN apk add --no-cache librdkafka

Expand Down

0 comments on commit c28aa2f

Please sign in to comment.