From 40fa99fdab099b08f354de5ce97d25e2055f52be Mon Sep 17 00:00:00 2001 From: Tianon Gravi Date: Fri, 12 May 2017 08:57:00 -0700 Subject: [PATCH] Update busybox URLs, and refactor variant handling to use explicit "variant-xxx.md" files --- busybox/content.md | 10 ---------- busybox/variant-glibc.md | 3 +++ busybox/variant-musl.md | 3 +++ busybox/variant-uclibc.md | 3 +++ busybox/variant.md | 5 +++++ 5 files changed, 14 insertions(+), 10 deletions(-) create mode 100644 busybox/variant-glibc.md create mode 100644 busybox/variant-musl.md create mode 100644 busybox/variant-uclibc.md create mode 100644 busybox/variant.md diff --git a/busybox/content.md b/busybox/content.md index 66e9c792c..1b1b8766a 100644 --- a/busybox/content.md +++ b/busybox/content.md @@ -27,13 +27,3 @@ CMD ["/my-static-binary"] ``` This `Dockerfile` will allow you to create a minimal image for your statically compiled binary. You will have to compile the binary in some other place like another container. For a simpler alternative that's similarly tiny but easier to extend, [see `alpine`](https://hub.docker.com/_/alpine/). - -## Image Variants - -This image contains BusyBox built against various "libc" variants (for a comparison of "libc" variants, [Eta Labs has a very nice chart](http://www.etalabs.net/compare_libcs.html) which lists many similarities and differences). - -- `%%IMAGE%%:glibc`: [glibc from Debian](https://packages.debian.org/jessie/libc6) (which is then included in the image) -- `%%IMAGE%%:musl`: [musl from Alpine](https://pkgs.alpinelinux.org/package/main/x86_64/musl) (statically compiled) -- `%%IMAGE%%:uclibc`: [uClibc](https://uclibc.org) via [Buildroot](https://buildroot.org) (statically compiled) - -For more information about the specific particulars of the build process for each variant, see `Dockerfile.builder` in the same directory as each variant's `Dockerfile` (see links above). diff --git a/busybox/variant-glibc.md b/busybox/variant-glibc.md new file mode 100644 index 000000000..0fad085bd --- /dev/null +++ b/busybox/variant-glibc.md @@ -0,0 +1,3 @@ +## `%%IMAGE%%:glibc` + +- [glibc from Debian](https://packages.debian.org/search?searchon=names&exact=1&suite=all§ion=all&keywords=libc6) (which is then included in the image) diff --git a/busybox/variant-musl.md b/busybox/variant-musl.md new file mode 100644 index 000000000..75d719c25 --- /dev/null +++ b/busybox/variant-musl.md @@ -0,0 +1,3 @@ +## `%%IMAGE%%:musl` + +- [musl from Alpine](https://pkgs.alpinelinux.org/packages?name=musl) (statically compiled) diff --git a/busybox/variant-uclibc.md b/busybox/variant-uclibc.md new file mode 100644 index 000000000..139b58f65 --- /dev/null +++ b/busybox/variant-uclibc.md @@ -0,0 +1,3 @@ +## `%%IMAGE%%:uclibc` + +- [uClibc](https://uclibc.org) via [Buildroot](https://buildroot.org) (statically compiled) diff --git a/busybox/variant.md b/busybox/variant.md new file mode 100644 index 000000000..46e3693d7 --- /dev/null +++ b/busybox/variant.md @@ -0,0 +1,5 @@ +# Image Variants + +The `%%IMAGE%%` images contain BusyBox built against various "libc" variants (for a comparison of "libc" variants, [Eta Labs has a very nice chart](http://www.etalabs.net/compare_libcs.html) which lists many similarities and differences). + +For more information about the specific particulars of the build process for each variant, see `Dockerfile.builder` in the same directory as each variant's `Dockerfile` (see links above).