Skip to content

Commit 044fcad

Browse files
authored
Fix container build (#879)
Fix container build
2 parents 6256c4e + 981ff5b commit 044fcad

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Dockerfile

+2
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ WORKDIR $GITBASE_PATH
1313

1414
ENV GO_BUILD_ARGS="-o /bin/gitbase"
1515
ENV GO_BUILD_PATH="./cmd/gitbase"
16+
ENV GO111MODULE=on
17+
1618
RUN make static-build
1719

1820
#=================================

Makefile

-2
Original file line numberDiff line numberDiff line change
@@ -42,5 +42,3 @@ ci-e2e: packages
4242
-must-run \
4343
-gitbase-bin="$(TRAVIS_BUILD_DIR)/build/gitbase_linux_amd64/gitbase" \
4444
-gitbase-repos="$(TRAVIS_BUILD_DIR)/.." -v
45-
dependencies:
46-
GO111MODULE=on go get -v ./...

0 commit comments

Comments
 (0)