mirror of
https://github.com/opencontainers/runc.git
synced 2026-07-11 14:13:58 +08:00
68cc1a772a
Currently, the id verification in integration test failed on arm platform due to the inconsistent /etc/group in the busybox images for arm and x86. To be specific, the nogroup id in x86 is 99 while that in arm is 65534. 99 is old id for nogroup, and no longer be used in recent system, so sync the busybox image for arm and x86 to the image in busybox github. Also change the id verification rule in integration test. Signed-off-by: Howard Zhang <howard.zhang@arm.com>
23 lines
446 B
Bash
23 lines
446 B
Bash
#!/bin/bash
|
|
get_busybox(){
|
|
case $(go env GOARCH) in
|
|
arm64)
|
|
echo 'https://github.com/docker-library/busybox/raw/dist-arm64v8/glibc/busybox.tar.xz'
|
|
;;
|
|
*)
|
|
echo 'https://github.com/docker-library/busybox/raw/dist-amd64/glibc/busybox.tar.xz'
|
|
;;
|
|
esac
|
|
}
|
|
|
|
get_hello(){
|
|
case $(go env GOARCH) in
|
|
arm64)
|
|
echo 'hello-world-aarch64.tar'
|
|
;;
|
|
*)
|
|
echo 'hello-world.tar'
|
|
;;
|
|
esac
|
|
}
|