diff --git a/Others/busybox/README.md b/Others/busybox/README.md new file mode 100644 index 0000000000000000000000000000000000000000..56244e90c92d519658ce3fbfc81dd03d87d46800 --- /dev/null +++ b/Others/busybox/README.md @@ -0,0 +1,38 @@ + +# Quick reference + +- The official BusyBox docker image. + +- Maintained by: [openEuler CloudNative SIG](https://gitee.com/openeuler/cloudnative). + +- Where to get help: [openEuler CloudNative SIG](https://gitee.com/openeuler/cloudnative), [openEuler](https://gitee.com/openeuler/community). +# BusyBox | openEuler +Current BiSheng BusyBox images are built on the [openEuler](https://repo.openeuler.org/). This repository is free to use and exempted from per-user rate limits. + +[BusyBox](https://busybox.net/downloads/BusyBox.html) is a multi-call binary. A multi-call binary is an executable program that performs the same job as more than one utility program. That means there is just a single BusyBox binary, but that single binary acts like a large number of utilities. This allows BusyBox to be smaller since all the built-in utility programs (we call them applets) can share code for many common operations. + +# Supported tags and respective Dockerfile links +The tag of each BusyBox docker image is consist of the version of BusyBox and the version of basic image. The details are as follows + +| Tags | Currently | Architectures| +|------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------|--| +| [1.37.0-oe2403sp1](https://gitee.com/openeuler/openeuler-docker-images/blob/master/Others/busybox/1.37.0/24.03-lts-sp1/Dockerfile) | BusyBox 1.37.0 on openEuler 24.03-LTS-SP1 | amd64, arm64 | + +# Usage + + You can also invoke BusyBox by issuing a command as an argument on the command line. For example, entering + + busybox ls + + will also cause BusyBox to behave as 'ls'. + + Of course, adding '/bin/busybox' into every command would be painful. So most people will invoke BusyBox using links to the BusyBox binary. + + ln -s /usr/local/busybox/bin/busybox ls + ./ls + + will cause BusyBox to behave as 'ls' (if the 'ls' command has been compiled into BusyBox). Generally speaking, you should never need to make all these links yourself, as the BusyBox build system will do this for you when you run the 'make install' command. + If you invoke BusyBox with no arguments, it will provide you with a list of the applets that have been compiled into your BusyBox binary. + +# Question and answering +If you have any questions or want to use some special features, please submit an issue or a pull request on [openeuler-docker-images](https://gitee.com/openeuler/openeuler-docker-images). \ No newline at end of file diff --git a/Others/busybox/doc/image-info.yml b/Others/busybox/doc/image-info.yml new file mode 100644 index 0000000000000000000000000000000000000000..3e657d334c963a4c4e698dfec5bbb0ec0c83715e --- /dev/null +++ b/Others/busybox/doc/image-info.yml @@ -0,0 +1,46 @@ +name: busybox +category: others +description: BusyBox 是一个为类 UNIX 系统设计的 超轻量工具集,它将常用的 Unix 命令(如 ls, cp, mv, sh, ifconfig 等)集成到一个单一的可执行文件中。 +environment: | + 本应用在Docker环境中运行,安装Docker执行如下命令 + ``` + yum install -y docker + ``` +tags: | + busybox镜像的Tag由其版本信息和基础镜像版本信息组成,详细内容如下 + + | Tag | Currently | Architectures | + |----------|-------------|------------------| + | [1.37.0-oe2403sp1](https://gitee.com/openeuler/openeuler-docker-images/blob/master/Others/busybox/1.37.0/24.03-lts-sp1/Dockerfile) | BusyBox 1.37.0 on openEuler 24.03-LTS-SP1 | amd64, arm64 | + + 注意,以下`{Tag}`的值按照需求,替换为上述表格中的tag内容。 + +download: | + 拉取镜像到本地 + ``` + docker pull openeuler/busybox:{Tag} + ``` + +usage: | + 你可以通过在命令行中将命令作为参数传递来调用 BusyBox。例如,输入: + + busybox ls + + 也会使 BusyBox 表现得像 ls 命令。 + + 当然,如果每次命令都要加上 /bin/busybox 会很麻烦。所以大多数人会通过为 BusyBox 创建链接(软链接)来使用它: + + ln -s /usr/local/busybox/bin/busybox ls + ./ls + + 这将使 BusyBox 表现为 ls(前提是 ls 命令已被编译进 BusyBox)。 + + 一般来说,你不需要手动为每个命令创建这些链接,因为当你运行 make install 时,BusyBox 的构建系统会自动为你完成这些操作。 + + 如果你直接运行 BusyBox 而不带任何参数,它会列出该 BusyBox 可执行文件中已经编译进去的所有命令(即 applets)。 + +license: GPL-2.0 license +similar_packages: + - N/A +dependency: + - N/A \ No newline at end of file diff --git a/Others/busybox/doc/picture/logo.png b/Others/busybox/doc/picture/logo.png new file mode 100644 index 0000000000000000000000000000000000000000..4d3126a5292fd4285a5155c324d0d68e5b3e0d4b Binary files /dev/null and b/Others/busybox/doc/picture/logo.png differ