some container may missing basic commands, such as curl wget ... use busybox to replace.
Signed-off-by: Xiao Shenwei xiaoshenwei96@163.com --- providers/docker/run.sh | 1 + 1 file changed, 1 insertion(+)
diff --git a/providers/docker/run.sh b/providers/docker/run.sh index 6798f48..f8aba13 100755 --- a/providers/docker/run.sh +++ b/providers/docker/run.sh @@ -28,6 +28,7 @@ cmd=( -v ${DIR}/bin:/root/bin:ro -v $CCI_SRC:/c/compass-ci -v /srv/git:/srv/git:ro + -v /usr/bin/busybox:/usr/bin/busybox --oom-score-adj="-1000" ${docker_image} /root/bin/entrypoint.sh
On Sat, Oct 10, 2020 at 09:47:53AM +0800, Xiao Shenwei wrote:
some container may missing basic commands, such as curl wget ... use busybox to replace.
Signed-off-by: Xiao Shenwei xiaoshenwei96@163.com
providers/docker/run.sh | 1 + 1 file changed, 1 insertion(+)
diff --git a/providers/docker/run.sh b/providers/docker/run.sh index 6798f48..f8aba13 100755 --- a/providers/docker/run.sh +++ b/providers/docker/run.sh @@ -28,6 +28,7 @@ cmd=( -v ${DIR}/bin:/root/bin:ro -v $CCI_SRC:/c/compass-ci -v /srv/git:/srv/git:ro
- -v /usr/bin/busybox:/usr/bin/busybox
It seems there is no 'busybox' in 'z9'.
Thanks, RenWen
--oom-score-adj="-1000" ${docker_image} /root/bin/entrypoint.sh -- 2.23.0
- -v /usr/bin/busybox:/usr/bin/busybox
It seems there is no 'busybox' in 'z9'.
right, i will send another patch to get the file,
on debian conatiner: apt-get install -y busybox, then copy it to host
Thanks, Shenwei
Thanks, RenWen
--oom-score-adj="-1000" ${docker_image} /root/bin/entrypoint.sh -- 2.23.0
On Sat, Oct 10, 2020 at 10:04:18AM +0800, Xiao Shenwei wrote:
- -v /usr/bin/busybox:/usr/bin/busybox
It seems there is no 'busybox' in 'z9'.
right, i will send another patch to get the file,
on debian conatiner: apt-get install -y busybox,
Just installed in z9. And sent a patch to install it in sparrow.
then copy it to host
I just send a patch to add it in
distro/depends/multi-docker
Would you go on build the cgz file?
Thanks, Fengguang
On Sat, Oct 10, 2020 at 04:28:09PM +0800, Wu Fengguang wrote:
On Sat, Oct 10, 2020 at 10:04:18AM +0800, Xiao Shenwei wrote:
- -v /usr/bin/busybox:/usr/bin/busybox
It seems there is no 'busybox' in 'z9'.
right, i will send another patch to get the file,
on debian conatiner: apt-get install -y busybox,
Just installed in z9. And sent a patch to install it in sparrow.
then copy it to host
I just send a patch to add it in
distro/depends/multi-docker
i have some question. like multi-qemu will run simplify-ci, it will clone our compass-ci code by git then distro/depends/simplify-ci will need git this script will call sparrow then install our env,
for multi-docker, it's still the same way, like docker.io, ruby xxx this package will install by sparrow.
so, also need build the cgz file?
Thanks, Shenwei
Would you go on build the cgz file?
Thanks, Fengguang
On Sat, Oct 10, 2020 at 05:13:23PM +0800, Xiao Shenwei wrote:
On Sat, Oct 10, 2020 at 04:28:09PM +0800, Wu Fengguang wrote:
On Sat, Oct 10, 2020 at 10:04:18AM +0800, Xiao Shenwei wrote:
- -v /usr/bin/busybox:/usr/bin/busybox
It seems there is no 'busybox' in 'z9'.
right, i will send another patch to get the file,
on debian conatiner: apt-get install -y busybox,
Just installed in z9. And sent a patch to install it in sparrow.
then copy it to host
I just send a patch to add it in
distro/depends/multi-docker
i have some question. like multi-qemu will run simplify-ci, it will clone our compass-ci code by git then distro/depends/simplify-ci will need git this script will call sparrow then install our env,
for multi-docker, it's still the same way, like docker.io, ruby xxx this package will install by sparrow.
so, also need build the cgz file?
Good point. Then we don't need distro/depends/multi-docker since it's already covered by sparrow install script.
I'll remove the depends patch.
Thanks, Fengguang
On Sat, Oct 10, 2020 at 05:23:04PM +0800, Xiao Shenwei wrote:
On Sat, Oct 10, 2020 at 04:31:21PM +0800, Wu Fengguang wrote:
- -v /usr/bin/busybox:/usr/bin/busybox
It's /bin/busybox in debian. So should test real path first.
busybox_path=$(command -v busybox)
OK.
Thanks, Fengguang