From 23beab88a71f492539d0a811544d3e5b277c6cd6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Atakan=20=C3=87olak?= Date: Fri, 17 Jul 2020 17:25:49 +0300 Subject: [PATCH] Updated Go version and Dockerfile --- Dockerfile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 81becc40..04643c6e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,10 +1,12 @@ -FROM golang:1.12.7-alpine3.10 AS builder +FROM golang:1.13.14-alpine3.11 AS builder RUN mkdir -p /go/src/github.com/mailgun/kafka-pixy COPY . /go/src/github.com/mailgun/kafka-pixy WORKDIR /go/src/github.com/mailgun/kafka-pixy +RUN apk add build-base +RUN go mod download RUN go build -v -o /go/bin/kafka-pixy -FROM alpine:3.10 +FROM alpine:3.11 LABEL maintainer="Maxim Vladimirskiy " COPY --from=builder /go/bin/kafka-pixy /usr/bin/kafka-pixy EXPOSE 19091 19092