File tree 1 file changed +13
-1
lines changed
1 file changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,8 @@ set -euo pipefail
3
3
4
4
declare -A VERSIONS=(
5
5
[" cni-plugins" ]=v1.3.0
6
- [" runc" ]=v1.1.7
6
+ [" runc" ]=v1.1.14
7
+ [" crun" ]=1.17
7
8
[" bats" ]=v1.9.0
8
9
)
9
10
@@ -16,6 +17,7 @@ main() {
16
17
install_bats
17
18
install_critools
18
19
install_runc
20
+ install_crun
19
21
install_cni_plugins
20
22
install_testdeps
21
23
setup_etc_subid
@@ -118,6 +120,16 @@ install_runc() {
118
120
runc --version
119
121
}
120
122
123
+ install_crun () {
124
+ URL=https://github.com/containers/crun/releases/download/" ${VERSIONS["crun"]} " /crun-" ${VERSIONS["crun"]} " -linux-amd64
125
+
126
+ BINARY=/usr/bin/crun
127
+ sudo wget -O " $BINARY " " $URL "
128
+ sudo chmod +x " $BINARY "
129
+
130
+ crun --version
131
+ }
132
+
121
133
install_testdeps () {
122
134
CLONE_PATH=$( go env GOPATH) /src/github.com/cri-o
123
135
mkdir -p " $CLONE_PATH "
You can’t perform that action at this time.
0 commit comments