!65 add GO111MODULE=off for build in golang 1.17.3
Merge pull request !65 from JackChan8/go_module_off
This commit is contained in:
commit
e6a2315a4e
11
docker.spec
11
docker.spec
@ -1,6 +1,6 @@
|
||||
Name: docker-engine
|
||||
Version: 18.09.0
|
||||
Release: 118
|
||||
Release: 119
|
||||
Summary: The open-source application container engine
|
||||
Group: Tools/Docker
|
||||
|
||||
@ -56,6 +56,9 @@ cp %{SOURCE5} .
|
||||
|
||||
sh ./apply-patches
|
||||
|
||||
# for golang 1.17.3, we need set GO111MODULE=off
|
||||
export GO111MODULE=off
|
||||
|
||||
# build docker engine
|
||||
WORKDIR=$(pwd)
|
||||
export VERSION=$(cat VERSION)
|
||||
@ -212,6 +215,12 @@ fi
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Tue Dec 28 2021 chenjiankun<chenjiankun1@huawei.com> - 18.09.0-119
|
||||
- Type:bugfix
|
||||
- CVE:NA
|
||||
- SUG:NA
|
||||
- DESC:disable go module build
|
||||
|
||||
* Sun Sep 26 2021 xiadanni<xiadanni1@huawei.com> - 18.09.0-118
|
||||
- Type:bugfix
|
||||
- CVE:NA
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user