diff --git a/Dockerfile b/Dockerfile index 607a183..51c6044 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,7 +2,8 @@ FROM golang:1.11-alpine as builder RUN apk --no-cache add git gcc musl-dev WORKDIR /go/src/git.lattuga.net/boyska/feedpanel/ COPY ./ /go/src/git.lattuga.net/boyska/feedpanel/ -RUN CGO_ENABLED=0 GOOS=linux go install ./... +ENV GO111MODULES=on +RUN go get ./... && CGO_ENABLED=0 GOOS=linux go install ./... FROM busybox WORKDIR /usr/bin/