use go modules from vendor when building the docker image
the build was successful Details

This commit is contained in:
kolaente 2018-10-28 18:38:40 +01:00
parent 990740fc19
commit 3f9fad0e2a
Signed by: konrad
GPG Key ID: F40E70337AB24C9B
1 changed files with 2 additions and 0 deletions

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