From 3bbc4f0c0fbcbb148ff563c9ff55e9531ef1f0d1 Mon Sep 17 00:00:00 2001 From: Tianon Gravi Date: Thu, 11 May 2017 15:28:06 -0700 Subject: [PATCH] Update busybox to use %%IMAGE%% --- busybox/content.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/busybox/content.md b/busybox/content.md index c837d1942..66e9c792c 100644 --- a/busybox/content.md +++ b/busybox/content.md @@ -13,7 +13,7 @@ BusyBox combines tiny versions of many common UNIX utilities into a single small ## Run BusyBox shell ```console -$ docker run -it --rm busybox +$ docker run -it --rm %%IMAGE%% ``` This will drop you into an `sh` shell to allow you to do what you want inside a BusyBox system. @@ -21,7 +21,7 @@ This will drop you into an `sh` shell to allow you to do what you want inside a ## Create a `Dockerfile` for a binary ```dockerfile -FROM busybox +FROM %%IMAGE%% COPY ./my-static-binary /my-static-binary CMD ["/my-static-binary"] ``` @@ -32,8 +32,8 @@ This `Dockerfile` will allow you to create a minimal image for your statically c 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). -- `busybox:glibc`: [glibc from Debian](https://packages.debian.org/jessie/libc6) (which is then included in the image) -- `busybox:musl`: [musl from Alpine](https://pkgs.alpinelinux.org/package/main/x86_64/musl) (statically compiled) -- `busybox:uclibc`: [uClibc](https://uclibc.org) via [Buildroot](https://buildroot.org) (statically compiled) +- `%%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).