!56 update runc to 1.1.3
From: @Wangjunqi123 Reviewed-by: @Vanient, @duguhaotian Signed-off-by: @duguhaotian
This commit is contained in:
commit
70325e18fc
27
runc.spec
27
runc.spec
@ -1,19 +1,14 @@
|
||||
#needsrootforbuild
|
||||
%global _bindir /usr/local/bin
|
||||
%global debug_package %{nil}
|
||||
|
||||
Name: docker-runc
|
||||
Version: 1.0.0.rc3
|
||||
Release: 303
|
||||
Version: 1.1.3
|
||||
Release: 1
|
||||
Summary: runc is a CLI tool for spawning and running containers according to the OCI specification.
|
||||
|
||||
License: ASL 2.0
|
||||
Source0: https://github.com/opencontainers/runc/archive/v1.0.0-rc3.zip
|
||||
Source1: patch.tar.gz
|
||||
Source2: apply-patch
|
||||
Source3: series.conf
|
||||
Source4: git-commit
|
||||
Source5: gen-commit.sh
|
||||
Source0: https://github.com/opencontainers/runc/archive/refs/tags/v1.1.3.tar.gz
|
||||
|
||||
|
||||
URL: https://www.opencontainers.org/
|
||||
Vendor: OCI
|
||||
@ -25,15 +20,9 @@ BuildRequires: golang >= 1.8.3 glibc-static make libseccomp-devel libseccomp-sta
|
||||
runc is a CLI tool for spawning and running containers according to the OCI specification.
|
||||
|
||||
%prep
|
||||
cp %{SOURCE0} .
|
||||
cp %{SOURCE1} .
|
||||
cp %{SOURCE2} .
|
||||
cp %{SOURCE3} .
|
||||
cp %{SOURCE4} .
|
||||
|
||||
%install
|
||||
sh ./apply-patch
|
||||
%autosetup -p1 -n runc-1.1.3
|
||||
|
||||
%build
|
||||
mkdir -p .gopath/src/github.com/opencontainers
|
||||
export GO111MODULE=off
|
||||
export GOPATH=`pwd`/.gopath
|
||||
@ -43,6 +32,7 @@ make BUILDTAGS="seccomp selinux" static
|
||||
rm -rf .gopath
|
||||
strip runc
|
||||
|
||||
%install
|
||||
install -d $RPM_BUILD_ROOT/%{_bindir}
|
||||
install -p -m 755 runc $RPM_BUILD_ROOT/%{_bindir}/runc
|
||||
|
||||
@ -53,6 +43,9 @@ install -p -m 755 runc $RPM_BUILD_ROOT/%{_bindir}/runc
|
||||
%{_bindir}/runc
|
||||
|
||||
%changelog
|
||||
* Tue Aug 9 2022 wangjunqi <wangjunqi@kylinos.cn> - 1.1.3-1
|
||||
- update to 1.1.3
|
||||
|
||||
* Tue Aug 9 2022 zhongjiawei<zhongjiawei1@huawei.com> - 1.0.0.rc3-303
|
||||
- Type:bugfix
|
||||
- CVE:NA
|
||||
|
||||
BIN
v1.0.0-rc3.zip
BIN
v1.0.0-rc3.zip
Binary file not shown.
BIN
v1.1.3.tar.gz
Normal file
BIN
v1.1.3.tar.gz
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user