use go modules from vendor when building the docker image
This commit is contained in:
parent
990740fc19
commit
3f9fad0e2a
1 changed files with 2 additions and 0 deletions
|
@ -5,6 +5,8 @@ FROM golang:1.11-alpine3.7 AS build-env
|
||||||
|
|
||||||
ARG VIKUNJA_VERSION
|
ARG VIKUNJA_VERSION
|
||||||
ENV TAGS "sqlite"
|
ENV TAGS "sqlite"
|
||||||
|
ENV GO111MODULE=on
|
||||||
|
ENV GOFLAGS=-mod=vendor
|
||||||
|
|
||||||
#Build deps
|
#Build deps
|
||||||
RUN apk --no-cache add build-base git
|
RUN apk --no-cache add build-base git
|
||||||
|
|
Loading…
Reference in a new issue