From 981ff5ba0729308a5d5ee43b5c99ae05b4252e17 Mon Sep 17 00:00:00 2001 From: Antonio Navarro Perez Date: Tue, 18 Jun 2019 16:08:49 +0200 Subject: [PATCH] Fix container build Signed-off-by: Antonio Navarro Perez --- Dockerfile | 2 ++ Makefile | 2 -- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 7d15d8540..2cbd88bb8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -13,6 +13,8 @@ WORKDIR $GITBASE_PATH ENV GO_BUILD_ARGS="-o /bin/gitbase" ENV GO_BUILD_PATH="./cmd/gitbase" +ENV GO111MODULE=on + RUN make static-build #================================= diff --git a/Makefile b/Makefile index 24962d85b..ec3083522 100644 --- a/Makefile +++ b/Makefile @@ -42,5 +42,3 @@ ci-e2e: packages -must-run \ -gitbase-bin="$(TRAVIS_BUILD_DIR)/build/gitbase_linux_amd64/gitbase" \ -gitbase-repos="$(TRAVIS_BUILD_DIR)/.." -v -dependencies: - GO111MODULE=on go get -v ./...