Skip to content
This repository has been archived by the owner on Jul 6, 2023. It is now read-only.

Commit

Permalink
extras: disable go modules
Browse files Browse the repository at this point in the history
Fedora 34 packages the 1.16 version of golang which tries to use go
modules even if a go.mod file isn't found. We don't intend to migrate to
go modules. This commit turns off the go modules in the Dockerfile.

Signed-off-by: Raghavendra Talur <rtalur@redhat.com>
  • Loading branch information
raghavendra-talur authored and phlogistonjohn committed May 11, 2021
1 parent 9557a96 commit 98f3bc1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions extras/docker/fromsource/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ ENV PATH=$GOPATH/bin:$PATH
# where to clone from
ENV HEKETI_REPO="https://github.com/heketi/heketi.git"
ENV HEKETI_BRANCH="master"
ENV GO111MODULE=off

# install dependencies, build and cleanup
RUN mkdir $BUILD_HOME $GOPATH && \
Expand Down

0 comments on commit 98f3bc1

Please sign in to comment.