Skip to content

Commit

Permalink
Updated Go version and Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
Atakan Çolak committed Jul 17, 2020
1 parent c31f6b5 commit 23beab8
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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 <[email protected]>"
COPY --from=builder /go/bin/kafka-pixy /usr/bin/kafka-pixy
EXPOSE 19091 19092
Expand Down

0 comments on commit 23beab8

Please sign in to comment.