diff --git a/Dockerfile b/Dockerfile index e6f18a2..7a4c32a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,8 @@ # Build -FROM golang:1.13-buster AS build +FROM golang:1.15-buster AS build WORKDIR /go/src/github.com/mpolden/echoip COPY . . + # Must build without cgo because libc is unavailable in runtime image ENV GO111MODULE=on CGO_ENABLED=0 RUN make