use go modules from vendor when building the docker image

This commit is contained in:
kolaente 2018-10-28 18:38:40 +01:00
parent 990740fc19
commit 3f9fad0e2a
No known key found for this signature in database
GPG key ID: F40E70337AB24C9B

View file

@ -5,6 +5,8 @@ FROM golang:1.11-alpine3.7 AS build-env
ARG VIKUNJA_VERSION
ENV TAGS "sqlite"
ENV GO111MODULE=on
ENV GOFLAGS=-mod=vendor
#Build deps
RUN apk --no-cache add build-base git