From 3f9fad0e2a9ac6e880c5fabcfd8315e53d02f441 Mon Sep 17 00:00:00 2001 From: kolaente Date: Sun, 28 Oct 2018 18:38:40 +0100 Subject: [PATCH] use go modules from vendor when building the docker image --- Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Dockerfile b/Dockerfile index 0737a8e9..d2046e31 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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