mirror of
https://github.com/opencontainers/runc.git
synced 2026-07-11 14:13:58 +08:00
604dbfbe12
Currently, integration test can't be done on arm64 platform due to several issues. Fix points: 1, add busybox.tar with arm64 format 2, add hello-world.tar with arm64 format Signed-off-by: Bin Lu <bin.lu@arm.com>
23 lines
504 B
Bash
23 lines
504 B
Bash
#!/bin/bash
|
|
get_busybox(){
|
|
case $(go env GOARCH) in
|
|
arm64)
|
|
echo 'https://github.com/docker-library/busybox/raw/23fbd9c43e0f4bec7605091bfba23db278c367ac/glibc/busybox.tar.xz'
|
|
;;
|
|
*)
|
|
echo 'https://github.com/docker-library/busybox/raw/a0558a9006ce0dd6f6ec5d56cfd3f32ebeeb815f/glibc/busybox.tar.xz'
|
|
;;
|
|
esac
|
|
}
|
|
|
|
get_hello(){
|
|
case $(go env GOARCH) in
|
|
arm64)
|
|
echo 'hello-world-aarch64.tar'
|
|
;;
|
|
*)
|
|
echo 'hello-world.tar'
|
|
;;
|
|
esac
|
|
}
|