├── .gitattributes ├── .github └── workflows │ ├── ci.yml │ ├── fake-gsl.sh │ ├── munge-build.sh │ ├── munge-unstable.sh │ └── verify-templating.yml ├── .gitignore ├── .patches ├── README.md ├── no-cbq.patch └── sha1_process_block64_shaNI.patch ├── Dockerfile-builder.template ├── Dockerfile.template ├── LICENSE ├── README.md ├── apply-templates.sh ├── build.sh ├── generate-stackbrew-library.sh ├── hack-unstable.sh ├── latest-1 ├── glibc │ ├── Dockerfile │ ├── Dockerfile.builder │ ├── amd64 │ │ ├── blobs │ │ │ └── sha256 │ │ │ │ ├── 8cac9c34e220de273cc3f255b4472cdb639d59fe848f51df8d7d5ddd3dbd378e │ │ │ │ ├── ae1d923cbe21706d4f9677ce8b05bad652be748ce7695a9137438a1e13bb0066 │ │ │ │ └── c464210ed74876e1229e7a337e6274297f4eb55b120635f73e2844408ae3ef13 │ │ ├── image-config.json │ │ ├── image-manifest.json │ │ ├── index.json │ │ └── oci-layout │ ├── arm32v5 │ │ ├── blobs │ │ │ └── sha256 │ │ │ │ ├── 0f60bfbd33d454f27365b9253b81efbcc9f166b7451d9ff21f105ac7a918faeb │ │ │ │ ├── 470d7970e08c0d3184bf3e63a362929bb828deadabdcccd524a98d9f3b6d7eb6 │ │ │ │ └── 948ea15a937713077ab2955415c85d55206ff8ed96f262ae91c3d1a6f6fcde38 │ │ ├── image-config.json │ │ ├── image-manifest.json │ │ ├── index.json │ │ └── oci-layout │ ├── arm32v7 │ │ ├── blobs │ │ │ └── sha256 │ │ │ │ ├── 460c140b2d4643a05eb6b024385d6bb41cec14bff465565a692ee4d6dd2aca7b │ │ │ │ ├── 490ccff27b59959d5bf1e64efe49ec62b2b540bcb11c6d6385e5f95a626071c2 │ │ │ │ └── 5424ca0da622b709915c4b6a391643f51ef3424c950d918211a1cc94e352ea2b │ │ ├── image-config.json │ │ ├── image-manifest.json │ │ ├── index.json │ │ └── oci-layout │ ├── arm64v8 │ │ ├── blobs │ │ │ └── sha256 │ │ │ │ ├── 160de00d05aab68908e607f83e473de9251d8d8d73f08f38a2606354b2bfbd1f │ │ │ │ ├── 2394760438e0c02f5a979042f0960599460998092991252e7c23cb00595be3a2 │ │ │ │ └── 6e35904c88f6b4669d2402fb137fbe199ce284b536267de45a3f952a388d034b │ │ ├── image-config.json │ │ ├── image-manifest.json │ │ ├── index.json │ │ └── oci-layout │ ├── i386 │ │ ├── blobs │ │ │ └── sha256 │ │ │ │ ├── 29e8b9be3ec61d471e6016d3b6f05dadbb4b7b1b3ba69e793e74b16847d0b5d9 │ │ │ │ ├── 830d66af280fedd5cb5cb353b14f670a6653205851599b5eefeee441a5fd7dbd │ │ │ │ └── 88fc722c54c256ed1f13cc9f2f89ffc6cea57346b43d92217a678ca09fdd4d58 │ │ ├── image-config.json │ │ ├── image-manifest.json │ │ ├── index.json │ │ └── oci-layout │ ├── mips64le │ │ ├── blobs │ │ │ └── sha256 │ │ │ │ ├── 936ea6d0ac79fac42c92f6b0fb203caa5f64ec0fc7bd4f4827f15896880f4dd2 │ │ │ │ ├── 9a7fb8df90f93bd84c31038c2a96c29f709932d29c8a4cb7e281b8a30c274978 │ │ │ │ └── aef434d7e582fb1c99d2bb39fb8f0a999e35d24e4e9e2b7de6ab2c0e2eca7f9e │ │ ├── image-config.json │ │ ├── image-manifest.json │ │ ├── index.json │ │ └── oci-layout │ ├── ppc64le │ │ ├── blobs │ │ │ └── sha256 │ │ │ │ ├── 163228496d1f3c64711a0b4e2cc91a8cd0df9c7a7eb33566fc69489fa4c262df │ │ │ │ ├── 75ec0c3fe7cdefae209f7d92e8cd2e3b8d29072a8361491a19ddd11b1eabc551 │ │ │ │ └── df4040317ece1fa085bd77fa8259e09436088d7bfe05ed1a7c7a5d849ec01817 │ │ ├── image-config.json │ │ ├── image-manifest.json │ │ ├── index.json │ │ └── oci-layout │ └── s390x │ │ ├── blobs │ │ └── sha256 │ │ │ ├── 28511670507f443fad519a8f7d9d8a2a2b239e509eb6996ac404600bcb87126b │ │ │ ├── c68de02af56aafbb48039100b1ed160ddddeaa7546a9db6540d68b66831ca65f │ │ │ └── cbfd8328c46ebbf0844a5c6e291bb776c4e2bf922a86e5f8bc4e9f741e9ddf9e │ │ ├── image-config.json │ │ ├── image-manifest.json │ │ ├── index.json │ │ └── oci-layout ├── musl │ ├── Dockerfile │ ├── Dockerfile.builder │ ├── amd64 │ │ ├── blobs │ │ │ └── sha256 │ │ │ │ ├── 94dbb33ae944d61428b376116164810d21d4de1c727fc64df9863b02769b6767 │ │ │ │ ├── ad0ffa21ad3a8d041da03443bbf9261c1884a708bc513577b9f1952c6e91cc2e │ │ │ │ └── e56bc0f7fc7d4452b17eb4ac0a9261ff4c9a469afa45d2b673e03650716d095d │ │ ├── image-config.json │ │ ├── image-manifest.json │ │ ├── index.json │ │ └── oci-layout │ ├── arm32v6 │ │ ├── blobs │ │ │ └── sha256 │ │ │ │ ├── ba57765da0aa18c230bcd938c8ec20dfc2290a5f655011358604278145d228de │ │ │ │ ├── cae274c705922a183e1d87861c31cfd7bccb486bef348a2e57c32d0729b16d61 │ │ │ │ └── fe372f33b58b4fb837e53a4fae277fe5709a4446d362ac16efa99a97b4fc98c6 │ │ ├── image-config.json │ │ ├── image-manifest.json │ │ ├── index.json │ │ └── oci-layout │ ├── arm32v7 │ │ ├── blobs │ │ │ └── sha256 │ │ │ │ ├── 1e1963392a21b986d46841e867ea43dd277ee33579bd8f8771556cb13ef2af19 │ │ │ │ ├── 538371d7a87caac543208d559c936179ebc5e3c65abb2488558e9b6230f97525 │ │ │ │ └── d9a9cfbe637ba489e00f5cbafff45c372b137c5bf84d9908ca89fb2a9b97aacb │ │ ├── image-config.json │ │ ├── image-manifest.json │ │ ├── index.json │ │ └── oci-layout │ ├── arm64v8 │ │ ├── blobs │ │ │ └── sha256 │ │ │ │ ├── 45a206fe02fc453d6c7372488bc757f30c9b30184201948c24c10d6fcb2c256b │ │ │ │ ├── 786ffaea49b67abe30db0f118d90387ca08fcee4428dadc4270ed96462e1050a │ │ │ │ └── a19d3001b21e7a2bb77ccc6497f88be8e26bf1037cad075997d587605ab9345f │ │ ├── image-config.json │ │ ├── image-manifest.json │ │ ├── index.json │ │ └── oci-layout │ ├── i386 │ │ ├── blobs │ │ │ └── sha256 │ │ │ │ ├── 56a2e71a670c98f13db64fb99bc2a4745c8432dea29663cf29ed394233616487 │ │ │ │ ├── c9da41e1b85620c2c8f5ab0cf1edc18439443f2db6693ee3cf48eddc0c7eb7ed │ │ │ │ └── d7942b4a7cbce40b84b4068d6b5d08435fec6d6231f6dc98f991e4306083fc82 │ │ ├── image-config.json │ │ ├── image-manifest.json │ │ ├── index.json │ │ └── oci-layout │ ├── ppc64le │ │ ├── blobs │ │ │ └── sha256 │ │ │ │ ├── 2281654986cacb1f221e78ca81352600a13089aa85bcc089af145c440935ac9c │ │ │ │ ├── b46932825cac266f49fdc115fd0b00f823e0afa3f428e0d4861d8bb499cdb6fc │ │ │ │ └── bfc31b8b64e34878d6bb6b2840e123fdb58de76fe492ae13ca45a431da05373f │ │ ├── image-config.json │ │ ├── image-manifest.json │ │ ├── index.json │ │ └── oci-layout │ └── s390x │ │ ├── blobs │ │ └── sha256 │ │ │ ├── 80c58d45630198b01c72a5254db249a3aedd08840a320b149103e85219752603 │ │ │ ├── c467fca0b7776e65a0862745866d9059e3e2c1941087534ee4236c471d9df149 │ │ │ └── f8d03680181f7d08daf97c00d785bbf2fdb1a9f071bdb6cdcaf8c7ba79dfbc43 │ │ ├── image-config.json │ │ ├── image-manifest.json │ │ ├── index.json │ │ └── oci-layout └── uclibc │ ├── Dockerfile │ ├── Dockerfile.builder │ ├── amd64 │ ├── blobs │ │ └── sha256 │ │ │ ├── 2a0a101560d56ba1b61dd74c0a9da3e5df447173593e1f41d62414ee134eadbe │ │ │ ├── 2dca49b989c8d5f7711a0b67a55dfc4026e15a352bb69ea4d6916857fef06cd0 │ │ │ └── b0bed0c144bffe1f7bd5a44c3a55b16e73681d2b0cf166568cf9ff21dbfb73ac │ ├── image-config.json │ ├── image-manifest.json │ ├── index.json │ └── oci-layout │ ├── arm32v5 │ ├── blobs │ │ └── sha256 │ │ │ ├── 83d462931144efa9579896152e86a996210cf6c1502d8fab53daa33608683b1c │ │ │ ├── abdf3d20b325e688a0a8f359f2fd94e0af37c2256da3d40e8752f3c724676c91 │ │ │ └── be695e11d3c55573ab962c40897d96ea73344080f590d0849b11063df25d05f6 │ ├── image-config.json │ ├── image-manifest.json │ ├── index.json │ └── oci-layout │ ├── arm32v7 │ ├── blobs │ │ └── sha256 │ │ │ ├── 03321c95e978502564808b3956c420c2dbd2e87906edfb0abd4baf5888eb5a83 │ │ │ ├── 143dec09ffcead32d0d3a7cc74052c0884e9420e3dab3233b5d232373c23b573 │ │ │ └── ce99af6a9aeb5a15dad9db03aeeaddab81d3d182381796e8f249b67f48037cbe │ ├── image-config.json │ ├── image-manifest.json │ ├── index.json │ └── oci-layout │ ├── arm64v8 │ ├── blobs │ │ └── sha256 │ │ │ ├── 154a45e546f1158746c9790a22b045975088ce404d63021e396a58e4562ad0d0 │ │ │ ├── ddf90b3524a0ede067b36f43f1169b6a85cd22090f31716ec38820400d675508 │ │ │ └── e997e9b9aabce1295385197ec63c52b266a09f0f9a8434bbdc481fcfccf600ca │ ├── image-config.json │ ├── image-manifest.json │ ├── index.json │ └── oci-layout │ ├── i386 │ ├── blobs │ │ └── sha256 │ │ │ ├── 8f8b18e7cb747d7415e677524951aa3ce36fa0671369f224a4be892a319704f0 │ │ │ ├── 927175febb1c60d2eb258611ca41d956a083380321fdbf6c60a7882b2de4054c │ │ │ └── ba89390c0a1457bbcd3e449812dfd3dd26d158914162073a3fcc7a124b0bdee1 │ ├── image-config.json │ ├── image-manifest.json │ ├── index.json │ └── oci-layout │ └── mips64le │ ├── blobs │ └── sha256 │ │ ├── 5d8d92d78acbd7bbc0c17474e8b0d5fd3d7c170081bc90546d716758d45aaad9 │ │ ├── 93eefa7d08dde6821c92d1bf1d60103e4f92ee6dbd1f61d93cbf6dd2bcd98fc7 │ │ └── b522e1e935abc0757c088bd49ca1db36f985a33222ca941fedc2ac6325a5f929 │ ├── image-config.json │ ├── image-manifest.json │ ├── index.json │ └── oci-layout ├── latest ├── glibc │ ├── Dockerfile │ ├── Dockerfile.builder │ ├── amd64 │ │ ├── blobs │ │ │ └── sha256 │ │ │ │ ├── 6d3e4188a38af91b0c1577b9e88c53368926b2fe0e1fb985d6e8a70040520c4d │ │ │ │ ├── 7c0ffe5751238c8479f952f3fbc3b719d47bccac0e9bf0a21c77a27cba9ef12d │ │ │ │ └── 90b9666d4aed1893ff122f238948dfd5e8efdcf6c444fe92371ea0f01750bf8c │ │ ├── image-config.json │ │ ├── image-manifest.json │ │ ├── index.json │ │ └── oci-layout │ ├── arm32v5 │ │ ├── blobs │ │ │ └── sha256 │ │ │ │ ├── 08d9f080c5948ace2c733f1167b7b648c5f84bb61d787b646b7882b1b7ae6605 │ │ │ │ ├── 72d81a749da6cd66bc93048846f6ee804a0891e758aacb6b2da2269564a4bdd4 │ │ │ │ └── 94d9880e2e0e243fa061c570b4dcf6b1059e9447ef4fe21f8526c67483cee6ad │ │ ├── image-config.json │ │ ├── image-manifest.json │ │ ├── index.json │ │ └── oci-layout │ ├── arm32v7 │ │ ├── blobs │ │ │ └── sha256 │ │ │ │ ├── 531d203b7ae09ae8d642b19fcf50b25a5c81048a21481e5a5ea889b87141cb08 │ │ │ │ ├── 8e88e0e970ca8fd24ddea25aa516e6024ae5db11c3edc8cdb986126fbbf0d818 │ │ │ │ └── c859036e179b71840fe935083b39399ae7fb8c2fd023b70a28b101446e036631 │ │ ├── image-config.json │ │ ├── image-manifest.json │ │ ├── index.json │ │ └── oci-layout │ ├── arm64v8 │ │ ├── blobs │ │ │ └── sha256 │ │ │ │ ├── 189fdd1508372905e80cc3edcdb56cdc4fa216aebef6f332dd3cba6e300238ea │ │ │ │ ├── 68a0d55a75c935e1101d16ded1c748babb7f96a9af43f7533ba83b87e2508b82 │ │ │ │ └── 7b4721e214600044496305a20ca3902677e572127d4d976ed0e54da0137c243a │ │ ├── image-config.json │ │ ├── image-manifest.json │ │ ├── index.json │ │ └── oci-layout │ ├── i386 │ │ ├── blobs │ │ │ └── sha256 │ │ │ │ ├── 084d025c7245fb575b5508fec7ce8f68a104f79b7f0216734b8c07903acca054 │ │ │ │ ├── 18ac7a6883a86416ade8178063c26deff577cd831445f5c5ac5c7a931cb60983 │ │ │ │ └── 3b860bf476e512132ebaa701e97cfe5c25993c07b6d4784d4f4e685501aa0bef │ │ ├── image-config.json │ │ ├── image-manifest.json │ │ ├── index.json │ │ └── oci-layout │ ├── mips64le │ │ ├── blobs │ │ │ └── sha256 │ │ │ │ ├── 552f827dac3a86a1ae513b14e859fa9f348dc6657f0d3c1868c6f4b7a5b958a4 │ │ │ │ ├── b81eed542d1e5e9f0971810947a6de31b5ab5d3cc5bf6d7ad8f641784fb31b9f │ │ │ │ └── ddac8b22852783747c1b61a9354e72279edb0926f4c825f6b5e9724057148249 │ │ ├── image-config.json │ │ ├── image-manifest.json │ │ ├── index.json │ │ └── oci-layout │ ├── ppc64le │ │ ├── blobs │ │ │ └── sha256 │ │ │ │ ├── 074870a1f80e27608aefd2c568253f644f52534d690c68103f59c31e5a53b775 │ │ │ │ ├── 8412c80c59e2720a095d18c00b982330fe12f9630cb7fca658ff2a4352228f5f │ │ │ │ └── f8ec14f72442f0606ff66df10201642839080d2f65fe7a6a6a94fbdcccb16e82 │ │ ├── image-config.json │ │ ├── image-manifest.json │ │ ├── index.json │ │ └── oci-layout │ └── s390x │ │ ├── blobs │ │ └── sha256 │ │ │ ├── 5b77c2495ddab55874cbd7610c80f31d7ae9200a9803a0edc5b79666f32fd155 │ │ │ ├── 5eb33dce04a284c91c76a36f2e27b2eaed37b48c3f483f37600cb8bb165bc20b │ │ │ └── fec56dcf5c3b8c3635489b39b1096b7d8ba62c701675ab8c7e0ee74be458b8d0 │ │ ├── image-config.json │ │ ├── image-manifest.json │ │ ├── index.json │ │ └── oci-layout ├── musl │ ├── Dockerfile │ ├── Dockerfile.builder │ ├── amd64 │ │ ├── blobs │ │ │ └── sha256 │ │ │ │ ├── 008f65c96291274170bec5cf01b2de06dc049dc9d8f9bfb633520497875ed2c1 │ │ │ │ ├── 7da29d4d35b82e4412a41afd99398c64cc94d58fb5a701c73c684ed22201a14b │ │ │ │ └── 8e7bef4a92afca21c56c9f85e4e63885b320f1da8f8f82a1cf87af359faf57d3 │ │ ├── image-config.json │ │ ├── image-manifest.json │ │ ├── index.json │ │ └── oci-layout │ ├── arm32v6 │ │ ├── blobs │ │ │ └── sha256 │ │ │ │ ├── 1a0f0cba8dd835da24dae3bc5f046666b0e51c1adf0fbff3faac8b66c60fe3e6 │ │ │ │ ├── 573021796a71b45328403d06518bb22f0206d30e379128f8f3a2e00b81f71cac │ │ │ │ └── f24d681ac617a81b6bf760b56095830faa108a76bdab32ea722393a2d8c90151 │ │ ├── image-config.json │ │ ├── image-manifest.json │ │ ├── index.json │ │ └── oci-layout │ ├── arm32v7 │ │ ├── blobs │ │ │ └── sha256 │ │ │ │ ├── 3c873527f998bba56151b7c7d19c133390a44ef894242e7ad5536de1ac0c347e │ │ │ │ ├── 580253f68c0c915d1f87102ce95e70c2e2806f1dd697d539526125dfa686d915 │ │ │ │ └── 982f070e2dfac82174272a16161e3d90741508ddc0a650f2a365b8b6648d13ba │ │ ├── image-config.json │ │ ├── image-manifest.json │ │ ├── index.json │ │ └── oci-layout │ ├── arm64v8 │ │ ├── blobs │ │ │ └── sha256 │ │ │ │ ├── 07b73337cea2a5d87c21278f251e1e742e253232ebd035d6a4a6d2cb4612e462 │ │ │ │ ├── 3edb9d07268fcaafb32f5308b128fd2e2628b0b6f726454ef81b322b9442d797 │ │ │ │ └── fa366118b986eb5a3c8c2a1cc7e4a67458b8bd152c3cb6e26f7a0b9470966178 │ │ ├── image-config.json │ │ ├── image-manifest.json │ │ ├── index.json │ │ └── oci-layout │ ├── i386 │ │ ├── blobs │ │ │ └── sha256 │ │ │ │ ├── 3c59e5e8610ad14365d324a269fe40446b3eff5939e7565533c7a39126c87368 │ │ │ │ ├── 7cde2957781f3fb6a77c857cdbeaead164c8cd89f23e632942f664d9afbaca95 │ │ │ │ └── a48074726d84fc49c8a4275703b4264aed40a8d2e4bf184e4b2c131a3beeeff3 │ │ ├── image-config.json │ │ ├── image-manifest.json │ │ ├── index.json │ │ └── oci-layout │ ├── ppc64le │ │ ├── blobs │ │ │ └── sha256 │ │ │ │ ├── 474f666808ee5b3b06c037176084e3e32ad29fe715b1c38eab2cac3673c8be4d │ │ │ │ ├── 733811319b351fd65b1b5d16c9ce0f57991a6727eea8fd407dd173a0e35525ab │ │ │ │ └── f3f5d636887b8d56aabe29047a58ef074511f5252c722b1e476b7f79fd35fb7f │ │ ├── image-config.json │ │ ├── image-manifest.json │ │ ├── index.json │ │ └── oci-layout │ └── s390x │ │ ├── blobs │ │ └── sha256 │ │ │ ├── 16ed489f009ebe276c67fb9ecf5c06df32fbf4212a7c6591e42a7d937c7ee7ad │ │ │ ├── 3bd977f75e22a5e164e2e6ac3556cee55053022e9ad8bba89614e7a8680791d1 │ │ │ └── 48124ec789014b8036ad83b3759d664e1215f5fc2e80f1c2a5e82e4f2b263406 │ │ ├── image-config.json │ │ ├── image-manifest.json │ │ ├── index.json │ │ └── oci-layout └── uclibc │ ├── Dockerfile │ ├── Dockerfile.builder │ ├── amd64 │ ├── blobs │ │ └── sha256 │ │ │ ├── 086517b4ab5daf82a6290ec8c1bb660d98d2a7f8733fa8fd1632bddefeb9e01d │ │ │ ├── 46300c35aa557736b6fffd302205498b90b71afc0fd6ce4587cd8be0dda7b1b3 │ │ │ └── 7f65c9eee073702799c7962428b3517c6b4a9457a47a6e886b9e6f40eb868b2c │ ├── image-config.json │ ├── image-manifest.json │ ├── index.json │ └── oci-layout │ ├── arm32v5 │ ├── blobs │ │ └── sha256 │ │ │ ├── 06ff5e233d5e91f832f2145be2e89ef0360c3872c700463926276075283b7c11 │ │ │ ├── 2602a2a3930a59fbf3a0a453d124dc4e535b93071c2f23ef16717ea9b8a37df4 │ │ │ └── a2ec48a1cbd23376b4f8d54b37f0732df6fd9b428996a24bf48c149a0c130fc7 │ ├── image-config.json │ ├── image-manifest.json │ ├── index.json │ └── oci-layout │ ├── arm32v7 │ ├── blobs │ │ └── sha256 │ │ │ ├── 0e1179b90d4e9341e1605d691c1414fe793169afa2a14ac0235bf4d031c044c3 │ │ │ ├── 716ab73530d2fff3ca0ddc4c7b89617c2e7a1109f03c2c3cdd5f6cba86155dbc │ │ │ └── ef6a3791fc5987128fbe4fc9bc4dcc585ef87274b1224e008c1ec7e8d73ecd65 │ ├── image-config.json │ ├── image-manifest.json │ ├── index.json │ └── oci-layout │ ├── arm64v8 │ ├── blobs │ │ └── sha256 │ │ │ ├── 4182ed714d722cbfdc5f42a5e1f9e138361984d543cc3a27c2cb06cc17f6b8fd │ │ │ ├── a5756035b5f04cb8c6f68cffbb090244b83d16527bc0d12a3f52d9e7727a7e9d │ │ │ └── bea9b3b61fa7bd051234f7601658c7c1dd366fa6b58b7911b356f504dd2440ad │ ├── image-config.json │ ├── image-manifest.json │ ├── index.json │ └── oci-layout │ ├── i386 │ ├── blobs │ │ └── sha256 │ │ │ ├── 06c4f3f3ef84198a9d3f3a308258dd7a0b69b36d808ad2c9173c003968df90cf │ │ │ ├── 62877c52953b9a53e91f644885d9ab06b08281061fda041e35ead07ac9b85538 │ │ │ └── f2d1cbc8d0095908edde6f0f896d614feb89e88f8fe9286a55708523f22cb85b │ ├── image-config.json │ ├── image-manifest.json │ ├── index.json │ └── oci-layout │ └── mips64le │ ├── blobs │ └── sha256 │ │ ├── 03cb704a0549a7ba94c40ead0eee20acc676c9f4c7541aa0c432c588580cd0c8 │ │ ├── 57b98e4b2e1700a64a9efb4e22f4a1321f8da41a8762dda3d4c0bf38f3403e31 │ │ └── feb951c96d4432894f68fd59907d8aa7c700ea59c9a6c1c3981a6ba82054623d │ ├── image-config.json │ ├── image-manifest.json │ ├── index.json │ └── oci-layout ├── update.sh ├── versions.json └── versions.sh /.gitattributes: -------------------------------------------------------------------------------- 1 | /*/**/Dockerfile linguist-generated 2 | /*/**/Dockerfile.builder linguist-generated linguist-language=Dockerfile 3 | /Dockerfile*.template linguist-language=Dockerfile 4 | -------------------------------------------------------------------------------- /.github/workflows/ci.yml: -------------------------------------------------------------------------------- 1 | name: GitHub CI 2 | 3 | on: 4 | pull_request: 5 | push: 6 | branches: 7 | - master 8 | workflow_dispatch: 9 | schedule: 10 | - cron: 0 0 * * 0 11 | 12 | defaults: 13 | run: 14 | shell: 'bash -Eeuo pipefail -x {0}' 15 | 16 | concurrency: 17 | group: ${{ github.ref }} 18 | cancel-in-progress: true 19 | 20 | permissions: 21 | contents: read 22 | 23 | jobs: 24 | 25 | generate-jobs: 26 | name: Generate Jobs 27 | runs-on: ubuntu-latest 28 | outputs: 29 | strategy: ${{ steps.generate-jobs.outputs.strategy }} 30 | steps: 31 | - uses: actions/checkout@v4 32 | - uses: docker-library/bashbrew@HEAD 33 | - id: generate-jobs 34 | name: Generate Jobs 35 | run: | 36 | strategy="$(GENERATE_STACKBREW_LIBRARY='.github/workflows/fake-gsl.sh' "$BASHBREW_SCRIPTS/github-actions/generate.sh")" 37 | strategy="$(.github/workflows/munge-build.sh -c <<<"$strategy")" 38 | strategy="$(.github/workflows/munge-unstable.sh -c <<<"$strategy")" 39 | 40 | EOF="EOF-$RANDOM-$RANDOM-$RANDOM" 41 | echo "strategy<<$EOF" >> "$GITHUB_OUTPUT" 42 | jq <<<"$strategy" . | tee -a "$GITHUB_OUTPUT" 43 | echo "$EOF" >> "$GITHUB_OUTPUT" 44 | 45 | test: 46 | needs: generate-jobs 47 | strategy: ${{ fromJson(needs.generate-jobs.outputs.strategy) }} 48 | name: ${{ matrix.name }} 49 | runs-on: ${{ matrix.os }} 50 | env: 51 | BASHBREW_ARCH: amd64 # TODO consider using "$BASHBREW_SCRIPTS/bashbrew-host-arch.sh" ? (would make it harder to force i386 in our matrix too, so explicit is probably better) 52 | steps: 53 | - uses: actions/checkout@v4 54 | - uses: docker-library/bashbrew@HEAD # build.sh needs bashbrew 55 | - name: Prepare Environment 56 | run: ${{ matrix.runs.prepare }} 57 | - name: Pull Dependencies 58 | run: ${{ matrix.runs.pull }} 59 | - name: Build ${{ matrix.name }} 60 | run: ${{ matrix.runs.build }} 61 | - name: History ${{ matrix.name }} 62 | run: ${{ matrix.runs.history }} 63 | - name: Test ${{ matrix.name }} 64 | run: ${{ matrix.runs.test }} 65 | - name: '"docker images"' 66 | run: ${{ matrix.runs.images }} 67 | - name: Git Diff # see "munge-build.sh" 68 | run: | 69 | if git diff --exit-code */*/Dockerfile.builder; then # see "hack-unstable.sh" (and "munge-unstable.sh") 70 | git diff --exit-code 71 | else 72 | # for unstable builds, let's leave this in but purely informational (instead of causing CI to fail) 73 | git diff 74 | fi 75 | -------------------------------------------------------------------------------- /.github/workflows/fake-gsl.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | set -Eeuo pipefail 3 | 4 | # this is a fake version of "generate-stackbrew-library.sh" just so https://github.com/docker-library/bashbrew/blob/c74be66ae6a019e0baee601287187dc6df29b384/scripts/github-actions/generate.sh can generate us a sane starter matrix 5 | 6 | [ -f versions.json ] # run "versions.sh" first 7 | 8 | if [ "$#" -eq 0 ]; then 9 | dirs="$(jq -r 'to_entries | map(.key + "/" + (.value.variants[])) | map(@sh) | join(" ")' versions.json)" 10 | eval "set -- $dirs" 11 | fi 12 | 13 | echo 'Maintainers: foo (@bar)' 14 | echo 'GitRepo: https://github.com/docker-library/busybox.git' 15 | commit="$(git log -1 --format='format:%H')" 16 | echo "GitCommit: $commit" 17 | 18 | for d; do 19 | echo 20 | echo "Tags: ${d////-}" 21 | echo "Directory: $d" 22 | echo "File: Dockerfile.builder" 23 | done 24 | -------------------------------------------------------------------------------- /.github/workflows/munge-build.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | set -Eeuo pipefail 3 | 4 | jq ' 5 | .matrix.include |= map( 6 | .runs.build = ( 7 | [ 8 | "dir=" + (.meta.entries[].directory | @sh), 9 | "rm -rf \"$dir/$BASHBREW_ARCH\"", # make sure our OCI directory is clean so we can "git diff --exit-code" later 10 | "./build.sh \"$dir\"", 11 | (.runs.build | sub(" --file [^ ]+ "; " ")), 12 | empty 13 | ] | join("\n") 14 | ) 15 | ) 16 | ' "$@" 17 | -------------------------------------------------------------------------------- /.github/workflows/munge-unstable.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | set -Eeuo pipefail 3 | 4 | # see also "hack-unstable.sh" 5 | jq ' 6 | .matrix.include += [ 7 | .matrix.include[] 8 | | select(.name | test(" [(].+[)]") | not) # ignore any existing munged builds 9 | | select(.os | startswith("windows-") | not) 10 | | select(.meta.froms | any(startswith("debian:"))) 11 | | .name += " (unstable)" 12 | | .runs.prepare += ([ 13 | "./hack-unstable.sh " + (.meta.entries[].directory | @sh), 14 | "if git diff --exit-code; then exit 1; fi", # trust, but verify (if hack-unstable did not modify anything, we want to bail quickly) 15 | empty 16 | ] | map("\n" + .) | add) 17 | | .runs.pull = "" # pulling images does not make sense here (we just changed them) 18 | ] 19 | ' "$@" 20 | -------------------------------------------------------------------------------- /.github/workflows/verify-templating.yml: -------------------------------------------------------------------------------- 1 | name: Verify Templating 2 | 3 | on: 4 | pull_request: 5 | push: 6 | branches: 7 | - master 8 | workflow_dispatch: 9 | 10 | defaults: 11 | run: 12 | shell: 'bash -Eeuo pipefail -x {0}' 13 | 14 | jobs: 15 | apply-templates: 16 | name: Check For Uncomitted Changes 17 | runs-on: ubuntu-latest 18 | steps: 19 | - uses: actions/checkout@v4 20 | - run: ./apply-templates.sh 21 | - run: git diff --exit-code 22 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .jq-template.awk 2 | -------------------------------------------------------------------------------- /.patches/README.md: -------------------------------------------------------------------------------- 1 | # BusyBox Patches 2 | 3 | This directory contains patches we apply during our various builds of BusyBox. They are not necessarily *all* applied to all builds, but they are intended to be as minimal as possible, focused primarily on compilation or correctness issues, such that we still represent upstream's releases accurately. 4 | 5 | Metadata in each patch should be following [Debian's "DEP-3" Patch Tagging Guidelines](https://dep-team.pages.debian.net/deps/dep3/) to ensure we track appropriate provenance (and that they were submitted upstream in some form, or that we're explicitly tracking our justification for *why* we didn't do so). 6 | -------------------------------------------------------------------------------- /.patches/no-cbq.patch: -------------------------------------------------------------------------------- 1 | Description: remove CBQ functionality 2 | Author: Tianon Gravi 3 | Origin: https://bugs.busybox.net/attachment.cgi?id=9751&action=edit 4 | 5 | See: 6 | - https://github.com/docker-library/busybox/issues/198 7 | - https://bugs.busybox.net/show_bug.cgi?id=15931 8 | - https://bugs.debian.org/1071648 9 | 10 | See also: 11 | - https://github.com/torvalds/linux/commit/33241dca486264193ed68167c8eeae1fb197f3df 12 | - https://github.com/iproute2/iproute2/commit/07ba0af3fee132eddc1c2eab643ff4910181c993 13 | 14 | diff --git a/networking/tc.c b/networking/tc.c 15 | index 3a79fd2d9..753efb9ff 100644 16 | --- a/networking/tc.c 17 | +++ b/networking/tc.c 18 | @@ -31,7 +31,7 @@ 19 | //usage: "qdisc [handle QHANDLE] [root|"IF_FEATURE_TC_INGRESS("ingress|")"parent CLASSID]\n" 20 | /* //usage: "[estimator INTERVAL TIME_CONSTANT]\n" */ 21 | //usage: " [[QDISC_KIND] [help|OPTIONS]]\n" 22 | -//usage: " QDISC_KIND := [p|b]fifo|tbf|prio|cbq|red|etc.\n" 23 | +//usage: " QDISC_KIND := [p|b]fifo|tbf|prio|red|etc.\n" 24 | //usage: "qdisc show [dev STRING]"IF_FEATURE_TC_INGRESS(" [ingress]")"\n" 25 | //usage: "class [classid CLASSID] [root|parent CLASSID]\n" 26 | //usage: " [[QDISC_KIND] [help|OPTIONS] ]\n" 27 | @@ -224,105 +224,6 @@ static int prio_print_opt(struct rtattr *opt) 28 | return 0; 29 | } 30 | 31 | -#if 0 32 | -/* Class Based Queue */ 33 | -static int cbq_parse_opt(int argc, char **argv, struct nlmsghdr *n) 34 | -{ 35 | - return 0; 36 | -} 37 | -#endif 38 | -static int cbq_print_opt(struct rtattr *opt) 39 | -{ 40 | - struct rtattr *tb[TCA_CBQ_MAX+1]; 41 | - struct tc_ratespec *r = NULL; 42 | - struct tc_cbq_lssopt *lss = NULL; 43 | - struct tc_cbq_wrropt *wrr = NULL; 44 | - struct tc_cbq_fopt *fopt = NULL; 45 | - struct tc_cbq_ovl *ovl = NULL; 46 | - const char *const error = "CBQ: too short %s opt"; 47 | - char buf[64]; 48 | - 49 | - if (opt == NULL) 50 | - goto done; 51 | - parse_rtattr_nested(tb, TCA_CBQ_MAX, opt); 52 | - 53 | - if (tb[TCA_CBQ_RATE]) { 54 | - if (RTA_PAYLOAD(tb[TCA_CBQ_RATE]) < sizeof(*r)) 55 | - bb_error_msg(error, "rate"); 56 | - else 57 | - r = RTA_DATA(tb[TCA_CBQ_RATE]); 58 | - } 59 | - if (tb[TCA_CBQ_LSSOPT]) { 60 | - if (RTA_PAYLOAD(tb[TCA_CBQ_LSSOPT]) < sizeof(*lss)) 61 | - bb_error_msg(error, "lss"); 62 | - else 63 | - lss = RTA_DATA(tb[TCA_CBQ_LSSOPT]); 64 | - } 65 | - if (tb[TCA_CBQ_WRROPT]) { 66 | - if (RTA_PAYLOAD(tb[TCA_CBQ_WRROPT]) < sizeof(*wrr)) 67 | - bb_error_msg(error, "wrr"); 68 | - else 69 | - wrr = RTA_DATA(tb[TCA_CBQ_WRROPT]); 70 | - } 71 | - if (tb[TCA_CBQ_FOPT]) { 72 | - if (RTA_PAYLOAD(tb[TCA_CBQ_FOPT]) < sizeof(*fopt)) 73 | - bb_error_msg(error, "fopt"); 74 | - else 75 | - fopt = RTA_DATA(tb[TCA_CBQ_FOPT]); 76 | - } 77 | - if (tb[TCA_CBQ_OVL_STRATEGY]) { 78 | - if (RTA_PAYLOAD(tb[TCA_CBQ_OVL_STRATEGY]) < sizeof(*ovl)) 79 | - bb_error_msg("CBQ: too short overlimit strategy %u/%u", 80 | - (unsigned) RTA_PAYLOAD(tb[TCA_CBQ_OVL_STRATEGY]), 81 | - (unsigned) sizeof(*ovl)); 82 | - else 83 | - ovl = RTA_DATA(tb[TCA_CBQ_OVL_STRATEGY]); 84 | - } 85 | - 86 | - if (r) { 87 | - print_rate(buf, sizeof(buf), r->rate); 88 | - printf("rate %s ", buf); 89 | - if (show_details) { 90 | - printf("cell %ub ", 1<cell_log); 91 | - if (r->mpu) 92 | - printf("mpu %ub ", r->mpu); 93 | - if (r->overhead) 94 | - printf("overhead %ub ", r->overhead); 95 | - } 96 | - } 97 | - if (lss && lss->flags) { 98 | - bool comma = false; 99 | - bb_putchar('('); 100 | - if (lss->flags&TCF_CBQ_LSS_BOUNDED) { 101 | - printf("bounded"); 102 | - comma = true; 103 | - } 104 | - if (lss->flags&TCF_CBQ_LSS_ISOLATED) { 105 | - if (comma) 106 | - bb_putchar(','); 107 | - printf("isolated"); 108 | - } 109 | - printf(") "); 110 | - } 111 | - if (wrr) { 112 | - if (wrr->priority != TC_CBQ_MAXPRIO) 113 | - printf("prio %u", wrr->priority); 114 | - else 115 | - printf("prio no-transmit"); 116 | - if (show_details) { 117 | - printf("/%u ", wrr->cpriority); 118 | - if (wrr->weight != 1) { 119 | - print_rate(buf, sizeof(buf), wrr->weight); 120 | - printf("weight %s ", buf); 121 | - } 122 | - if (wrr->allot) 123 | - printf("allot %ub ", wrr->allot); 124 | - } 125 | - } 126 | - done: 127 | - return 0; 128 | -} 129 | - 130 | static FAST_FUNC int print_qdisc( 131 | const struct sockaddr_nl *who UNUSED_PARAM, 132 | struct nlmsghdr *hdr, 133 | @@ -368,12 +269,10 @@ static FAST_FUNC int print_qdisc( 134 | if (msg->tcm_info != 1) 135 | printf("refcnt %d ", msg->tcm_info); 136 | if (tb[TCA_OPTIONS]) { 137 | - static const char _q_[] ALIGN1 = "pfifo_fast\0""cbq\0"; 138 | + static const char _q_[] ALIGN1 = "pfifo_fast\0"; 139 | int qqq = index_in_strings(_q_, name); 140 | if (qqq == 0) { /* pfifo_fast aka prio */ 141 | prio_print_opt(tb[TCA_OPTIONS]); 142 | - } else if (qqq == 1) { /* class based queuing */ 143 | - cbq_print_opt(tb[TCA_OPTIONS]); 144 | } else { 145 | /* don't know how to print options for this qdisc */ 146 | printf("(options for %s)", name); 147 | @@ -438,13 +337,10 @@ static FAST_FUNC int print_class( 148 | printf("leaf %x ", msg->tcm_info >> 16); 149 | /* Do that get_qdisc_kind(RTA_DATA(tb[TCA_KIND])). */ 150 | if (tb[TCA_OPTIONS]) { 151 | - static const char _q_[] ALIGN1 = "pfifo_fast\0""cbq\0"; 152 | + static const char _q_[] ALIGN1 = "pfifo_fast\0"; 153 | int qqq = index_in_strings(_q_, name); 154 | if (qqq == 0) { /* pfifo_fast aka prio */ 155 | /* nothing. */ /*prio_print_opt(tb[TCA_OPTIONS]);*/ 156 | - } else if (qqq == 1) { /* class based queuing */ 157 | - /* cbq_print_copt() is identical to cbq_print_opt(). */ 158 | - cbq_print_opt(tb[TCA_OPTIONS]); 159 | } else { 160 | /* don't know how to print options for this class */ 161 | printf("(options for %s)", name); 162 | -------------------------------------------------------------------------------- /.patches/sha1_process_block64_shaNI.patch: -------------------------------------------------------------------------------- 1 | Description: libbb/sha: add missing sha-NI guard 2 | Author: André Przywara 3 | Date: Tue, 10 Sep 2024 06:33:00 -0700 4 | Origin: http://lists.busybox.net/pipermail/busybox/2024-September/090899.html 5 | 6 | The ENABLE_SHA1_HWACCEL Kconfig symbol is meant to be archicture 7 | agnostic, so can be enabled regardless of whether your build 8 | architecture provides hardware acceleration or not. At the moment only 9 | x86 implements this, so every piece of optimised code should be guarded 10 | by both ENABLE_SHA1_HWACCEL and (__x86_64__ || __i386__). This is missing 11 | at one place, so compiling for arm64 breaks when ENABLE_SHA1_HWACCEL is 12 | enabled: 13 | ================================ 14 | libbb/hash_md5_sha.c: In function ‘sha1_end’: 15 | libbb/hash_md5_sha.c:1316:28: error: ‘sha1_process_block64_shaNI’ undeclared (first use in this function); did you mean ‘sha1_process_block64’? 16 | 1316 | || ctx->process_block == sha1_process_block64_shaNI 17 | | ^~~~~~~~~~~~~~~~~~~~~~~~~~ 18 | | sha1_process_block64 19 | libbb/hash_md5_sha.c:1316:28: note: each undeclared identifier is reported only once for each function it appears in 20 | make[1]: *** [scripts/Makefile.build:197: libbb/hash_md5_sha.o] Error 1 21 | make: *** [Makefile:744: libbb] Error 2 22 | ================================ 23 | 24 | Add the missing guards around the call to sha1_process_block64_shaNI to 25 | fix the build on other architectures with ENABLE_SHA1_HWACCEL enabled. 26 | 27 | Change-Id: I40bba388422625f4230abf15a5de23e1fdc654fc 28 | Signed-off-by: André Przywara 29 | --- 30 | libbb/hash_md5_sha.c | 2 ++ 31 | 1 file changed, 2 insertions(+) 32 | 33 | diff --git a/libbb/hash_md5_sha.c b/libbb/hash_md5_sha.c 34 | index 57a801459..75a61c32c 100644 35 | --- a/libbb/hash_md5_sha.c 36 | +++ b/libbb/hash_md5_sha.c 37 | @@ -1313,7 +1313,9 @@ unsigned FAST_FUNC sha1_end(sha1_ctx_t *ctx, void *resbuf) 38 | hash_size = 8; 39 | if (ctx->process_block == sha1_process_block64 40 | #if ENABLE_SHA1_HWACCEL 41 | +# if defined(__GNUC__) && (defined(__i386__) || defined(__x86_64__)) 42 | || ctx->process_block == sha1_process_block64_shaNI 43 | +# endif 44 | #endif 45 | ) { 46 | hash_size = 5; 47 | -- 48 | 2.25.1 49 | -------------------------------------------------------------------------------- /Dockerfile.template: -------------------------------------------------------------------------------- 1 | # this isn't used for the official published images anymore, but is included for backwards compatibility 2 | # see https://github.com/docker-library/bashbrew/issues/51 3 | FROM scratch 4 | ADD busybox.tar.gz / 5 | CMD ["sh"] 6 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | 2 | Apache License 3 | Version 2.0, January 2004 4 | http://www.apache.org/licenses/ 5 | 6 | TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 7 | 8 | 1. Definitions. 9 | 10 | "License" shall mean the terms and conditions for use, reproduction, 11 | and distribution as defined by Sections 1 through 9 of this document. 12 | 13 | "Licensor" shall mean the copyright owner or entity authorized by 14 | the copyright owner that is granting the License. 15 | 16 | "Legal Entity" shall mean the union of the acting entity and all 17 | other entities that control, are controlled by, or are under common 18 | control with that entity. For the purposes of this definition, 19 | "control" means (i) the power, direct or indirect, to cause the 20 | direction or management of such entity, whether by contract or 21 | otherwise, or (ii) ownership of fifty percent (50%) or more of the 22 | outstanding shares, or (iii) beneficial ownership of such entity. 23 | 24 | "You" (or "Your") shall mean an individual or Legal Entity 25 | exercising permissions granted by this License. 26 | 27 | "Source" form shall mean the preferred form for making modifications, 28 | including but not limited to software source code, documentation 29 | source, and configuration files. 30 | 31 | "Object" form shall mean any form resulting from mechanical 32 | transformation or translation of a Source form, including but 33 | not limited to compiled object code, generated documentation, 34 | and conversions to other media types. 35 | 36 | "Work" shall mean the work of authorship, whether in Source or 37 | Object form, made available under the License, as indicated by a 38 | copyright notice that is included in or attached to the work 39 | (an example is provided in the Appendix below). 40 | 41 | "Derivative Works" shall mean any work, whether in Source or Object 42 | form, that is based on (or derived from) the Work and for which the 43 | editorial revisions, annotations, elaborations, or other modifications 44 | represent, as a whole, an original work of authorship. For the purposes 45 | of this License, Derivative Works shall not include works that remain 46 | separable from, or merely link (or bind by name) to the interfaces of, 47 | the Work and Derivative Works thereof. 48 | 49 | "Contribution" shall mean any work of authorship, including 50 | the original version of the Work and any modifications or additions 51 | to that Work or Derivative Works thereof, that is intentionally 52 | submitted to Licensor for inclusion in the Work by the copyright owner 53 | or by an individual or Legal Entity authorized to submit on behalf of 54 | the copyright owner. For the purposes of this definition, "submitted" 55 | means any form of electronic, verbal, or written communication sent 56 | to the Licensor or its representatives, including but not limited to 57 | communication on electronic mailing lists, source code control systems, 58 | and issue tracking systems that are managed by, or on behalf of, the 59 | Licensor for the purpose of discussing and improving the Work, but 60 | excluding communication that is conspicuously marked or otherwise 61 | designated in writing by the copyright owner as "Not a Contribution." 62 | 63 | "Contributor" shall mean Licensor and any individual or Legal Entity 64 | on behalf of whom a Contribution has been received by Licensor and 65 | subsequently incorporated within the Work. 66 | 67 | 2. Grant of Copyright License. Subject to the terms and conditions of 68 | this License, each Contributor hereby grants to You a perpetual, 69 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable 70 | copyright license to reproduce, prepare Derivative Works of, 71 | publicly display, publicly perform, sublicense, and distribute the 72 | Work and such Derivative Works in Source or Object form. 73 | 74 | 3. Grant of Patent License. Subject to the terms and conditions of 75 | this License, each Contributor hereby grants to You a perpetual, 76 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable 77 | (except as stated in this section) patent license to make, have made, 78 | use, offer to sell, sell, import, and otherwise transfer the Work, 79 | where such license applies only to those patent claims licensable 80 | by such Contributor that are necessarily infringed by their 81 | Contribution(s) alone or by combination of their Contribution(s) 82 | with the Work to which such Contribution(s) was submitted. If You 83 | institute patent litigation against any entity (including a 84 | cross-claim or counterclaim in a lawsuit) alleging that the Work 85 | or a Contribution incorporated within the Work constitutes direct 86 | or contributory patent infringement, then any patent licenses 87 | granted to You under this License for that Work shall terminate 88 | as of the date such litigation is filed. 89 | 90 | 4. Redistribution. You may reproduce and distribute copies of the 91 | Work or Derivative Works thereof in any medium, with or without 92 | modifications, and in Source or Object form, provided that You 93 | meet the following conditions: 94 | 95 | (a) You must give any other recipients of the Work or 96 | Derivative Works a copy of this License; and 97 | 98 | (b) You must cause any modified files to carry prominent notices 99 | stating that You changed the files; and 100 | 101 | (c) You must retain, in the Source form of any Derivative Works 102 | that You distribute, all copyright, patent, trademark, and 103 | attribution notices from the Source form of the Work, 104 | excluding those notices that do not pertain to any part of 105 | the Derivative Works; and 106 | 107 | (d) If the Work includes a "NOTICE" text file as part of its 108 | distribution, then any Derivative Works that You distribute must 109 | include a readable copy of the attribution notices contained 110 | within such NOTICE file, excluding those notices that do not 111 | pertain to any part of the Derivative Works, in at least one 112 | of the following places: within a NOTICE text file distributed 113 | as part of the Derivative Works; within the Source form or 114 | documentation, if provided along with the Derivative Works; or, 115 | within a display generated by the Derivative Works, if and 116 | wherever such third-party notices normally appear. The contents 117 | of the NOTICE file are for informational purposes only and 118 | do not modify the License. You may add Your own attribution 119 | notices within Derivative Works that You distribute, alongside 120 | or as an addendum to the NOTICE text from the Work, provided 121 | that such additional attribution notices cannot be construed 122 | as modifying the License. 123 | 124 | You may add Your own copyright statement to Your modifications and 125 | may provide additional or different license terms and conditions 126 | for use, reproduction, or distribution of Your modifications, or 127 | for any such Derivative Works as a whole, provided Your use, 128 | reproduction, and distribution of the Work otherwise complies with 129 | the conditions stated in this License. 130 | 131 | 5. Submission of Contributions. Unless You explicitly state otherwise, 132 | any Contribution intentionally submitted for inclusion in the Work 133 | by You to the Licensor shall be under the terms and conditions of 134 | this License, without any additional terms or conditions. 135 | Notwithstanding the above, nothing herein shall supersede or modify 136 | the terms of any separate license agreement you may have executed 137 | with Licensor regarding such Contributions. 138 | 139 | 6. Trademarks. This License does not grant permission to use the trade 140 | names, trademarks, service marks, or product names of the Licensor, 141 | except as required for reasonable and customary use in describing the 142 | origin of the Work and reproducing the content of the NOTICE file. 143 | 144 | 7. Disclaimer of Warranty. Unless required by applicable law or 145 | agreed to in writing, Licensor provides the Work (and each 146 | Contributor provides its Contributions) on an "AS IS" BASIS, 147 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or 148 | implied, including, without limitation, any warranties or conditions 149 | of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A 150 | PARTICULAR PURPOSE. You are solely responsible for determining the 151 | appropriateness of using or redistributing the Work and assume any 152 | risks associated with Your exercise of permissions under this License. 153 | 154 | 8. Limitation of Liability. In no event and under no legal theory, 155 | whether in tort (including negligence), contract, or otherwise, 156 | unless required by applicable law (such as deliberate and grossly 157 | negligent acts) or agreed to in writing, shall any Contributor be 158 | liable to You for damages, including any direct, indirect, special, 159 | incidental, or consequential damages of any character arising as a 160 | result of this License or out of the use or inability to use the 161 | Work (including but not limited to damages for loss of goodwill, 162 | work stoppage, computer failure or malfunction, or any and all 163 | other commercial damages or losses), even if such Contributor 164 | has been advised of the possibility of such damages. 165 | 166 | 9. Accepting Warranty or Additional Liability. While redistributing 167 | the Work or Derivative Works thereof, You may choose to offer, 168 | and charge a fee for, acceptance of support, warranty, indemnity, 169 | or other liability obligations and/or rights consistent with this 170 | License. However, in accepting such obligations, You may act only 171 | on Your own behalf and on Your sole responsibility, not on behalf 172 | of any other Contributor, and only if You agree to indemnify, 173 | defend, and hold each Contributor harmless for any liability 174 | incurred by, or claims asserted against, such Contributor by reason 175 | of your accepting any such warranty or additional liability. 176 | 177 | END OF TERMS AND CONDITIONS 178 | 179 | APPENDIX: How to apply the Apache License to your work. 180 | 181 | To apply the Apache License to your work, attach the following 182 | boilerplate notice, with the fields enclosed by brackets "[]" 183 | replaced with your own identifying information. (Don't include 184 | the brackets!) The text should be enclosed in the appropriate 185 | comment syntax for the file format. We also recommend that a 186 | file or class name and description of purpose be included on the 187 | same "printed page" as the copyright notice for easier 188 | identification within third-party archives. 189 | 190 | Copyright [yyyy] [name of copyright owner] 191 | 192 | Licensed under the Apache License, Version 2.0 (the "License"); 193 | you may not use this file except in compliance with the License. 194 | You may obtain a copy of the License at 195 | 196 | http://www.apache.org/licenses/LICENSE-2.0 197 | 198 | Unless required by applicable law or agreed to in writing, software 199 | distributed under the License is distributed on an "AS IS" BASIS, 200 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 201 | See the License for the specific language governing permissions and 202 | limitations under the License. 203 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # https://github.com/docker-library/busybox 2 | 3 | ## Maintained by: [the Docker Community](https://github.com/docker-library/busybox) 4 | 5 | This is the Git repo of the [Docker "Official Image"](https://github.com/docker-library/official-images#what-are-official-images) for [`busybox`](https://hub.docker.com/_/busybox/) (not to be confused with any official `busybox` image provided by `busybox` upstream). See [the Docker Hub page](https://hub.docker.com/_/busybox/) for the full readme on how to use this Docker image and for information regarding contributing and issues. 6 | 7 | The [full image description on Docker Hub](https://hub.docker.com/_/busybox/) is generated/maintained over in [the docker-library/docs repository](https://github.com/docker-library/docs), specifically in [the `busybox` directory](https://github.com/docker-library/docs/tree/master/busybox). 8 | 9 | ## See a change merged here that doesn't show up on Docker Hub yet? 10 | 11 | For more information about the full official images change lifecycle, see [the "An image's source changed in Git, now what?" FAQ entry](https://github.com/docker-library/faq#an-images-source-changed-in-git-now-what). 12 | 13 | For outstanding `busybox` image PRs, check [PRs with the "library/busybox" label on the official-images repository](https://github.com/docker-library/official-images/labels/library%2Fbusybox). For the current "source of truth" for [`busybox`](https://hub.docker.com/_/busybox/), see [the `library/busybox` file in the official-images repository](https://github.com/docker-library/official-images/blob/master/library/busybox). 14 | 15 | 16 | -------------------------------------------------------------------------------- /apply-templates.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | set -Eeuo pipefail 3 | 4 | [ -f versions.json ] # run "versions.sh" first 5 | 6 | cd "$(dirname "$(readlink -f "$BASH_SOURCE")")" 7 | 8 | jqt='.jq-template.awk' 9 | if [ -n "${BASHBREW_SCRIPTS:-}" ]; then 10 | jqt="$BASHBREW_SCRIPTS/jq-template.awk" 11 | elif [ "$BASH_SOURCE" -nt "$jqt" ]; then 12 | # https://github.com/docker-library/bashbrew/blob/master/scripts/jq-template.awk 13 | wget -qO "$jqt" 'https://github.com/docker-library/bashbrew/raw/9f6a35772ac863a0241f147c820354e4008edf38/scripts/jq-template.awk' 14 | fi 15 | 16 | if [ "$#" -eq 0 ]; then 17 | versions="$(jq -r 'keys | map(@sh) | join(" ")' versions.json)" 18 | eval "set -- $versions" 19 | fi 20 | 21 | generated_warning() { 22 | cat <<-EOH 23 | # 24 | # NOTE: THIS DOCKERFILE IS GENERATED VIA "apply-templates.sh" 25 | # 26 | # PLEASE DO NOT EDIT IT DIRECTLY. 27 | # 28 | 29 | EOH 30 | } 31 | 32 | for version; do 33 | export version 34 | 35 | variants="$(jq -r '.[env.version].variants | map(@sh) | join(" ")' versions.json)" 36 | eval "variants=( $variants )" 37 | 38 | # TODO somehow make sure this deletes any content we're not generating (without accidentally deleting potentialy generated tarballs for the things we *do* care about) 39 | 40 | for variant in "${variants[@]}"; do 41 | export variant 42 | 43 | echo "processing $version/$variant ..." 44 | 45 | mkdir -p "$version/$variant" 46 | 47 | { 48 | generated_warning 49 | gawk -f "$jqt" Dockerfile-builder.template 50 | } > "$version/$variant/Dockerfile.builder" 51 | 52 | cp Dockerfile.template "$version/$variant/Dockerfile" 53 | done 54 | done 55 | -------------------------------------------------------------------------------- /build.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | set -Eeuo pipefail 3 | 4 | [ -f versions.json ] # run "versions.sh" first 5 | 6 | if [ "$#" -eq 0 ]; then 7 | dirs="$(jq -r 'to_entries | map(.key + "/" + (.value.variants[])) | map(@sh) | join(" ")' versions.json)" 8 | eval "set -- $dirs" 9 | fi 10 | 11 | [ -n "$BASHBREW_ARCH" ] 12 | platformString="$(bashbrew cat --format '{{ ociPlatform arch }}' <(echo 'Maintainers: empty hack (@example)'))" 13 | platform="$(bashbrew cat --format '{{ ociPlatform arch | json }}' <(echo 'Maintainers: empty hack (@example)'))" 14 | 15 | for dir; do 16 | variant="$(basename "$dir")" 17 | base="busybox:${dir////-}-$BASHBREW_ARCH" 18 | 19 | froms="$(awk 'toupper($1) == "FROM" { print $2 }' "$dir/Dockerfile.builder")" 20 | for from in "$froms"; do 21 | if ! bashbrew remote arches --json "$from" | jq -e '.arches | has(env.BASHBREW_ARCH)' > /dev/null; then 22 | echo >&2 "warning: '$base' is 'FROM $from' which does not support '$BASHBREW_ARCH'; skipping" 23 | continue 2 24 | fi 25 | done 26 | 27 | ( 28 | set -x 29 | 30 | # TODO save the output of "bashbrew remote arches" above so we can "--build-context" here? 31 | docker buildx build \ 32 | --progress=plain \ 33 | --platform "$platformString" \ 34 | --pull \ 35 | --load \ 36 | --tag "$base-builder" \ 37 | --file "$dir/Dockerfile.builder" \ 38 | . # context is "." so we can access the (shared) ".patches" directory 39 | 40 | oci="$dir/$BASHBREW_ARCH" 41 | rm -rf "$oci" 42 | mkdir "$oci" "$oci/blobs" "$oci/blobs/sha256" 43 | 44 | docker run --rm "$base-builder" \ 45 | tar \ 46 | --create \ 47 | --directory rootfs \ 48 | --numeric-owner \ 49 | --transform 's,^./,,' \ 50 | --sort name \ 51 | --mtime /usr/src/busybox.SOURCE_DATE_EPOCH --clamp-mtime \ 52 | . \ 53 | > "$oci/rootfs.tar" 54 | 55 | # if we gzip separately, we can calculate the diffid without decompressing 56 | diffId="$(sha256sum "$oci/rootfs.tar" | cut -d' ' -f1)" 57 | diffId="sha256:$diffId" 58 | 59 | # we need to use the container's gzip so it's more likely reproducible over time (and using busybox's own gzip is a cute touch 😀) 60 | docker run -i --rm "$base-builder" chroot rootfs gzip -c < "$oci/rootfs.tar" > "$oci/rootfs.tar.gz" 61 | rm "$oci/rootfs.tar" 62 | rootfs="$(sha256sum "$oci/rootfs.tar.gz" | cut -d' ' -f1)" 63 | ln -svfT --relative "$oci/rootfs.tar.gz" "$oci/blobs/sha256/$rootfs" 64 | rootfsSize="$(stat --format '%s' --dereference "$oci/blobs/sha256/$rootfs")" 65 | rootfs="sha256:$rootfs" 66 | 67 | SOURCE_DATE_EPOCH="$(docker run --rm "$base-builder" cat /usr/src/busybox.SOURCE_DATE_EPOCH)" 68 | createdBy="$(docker run --rm --env variant="$variant" "$base-builder" sh -euc '. /etc/os-release && echo "BusyBox $BUSYBOX_VERSION ($variant)${BUILDROOT_VERSION:+, Buildroot $BUILDROOT_VERSION}, ${NAME%% *} ${VERSION_ID:-$VERSION_CODENAME}"')" 69 | jq -n --tab --arg SOURCE_DATE_EPOCH "$SOURCE_DATE_EPOCH" --arg diffId "$diffId" --arg createdBy "$createdBy" --argjson platform "$platform" ' 70 | ($SOURCE_DATE_EPOCH | tonumber | strftime("%Y-%m-%dT%H:%M:%SZ")) as $created 71 | | { 72 | config: { 73 | Cmd: [ "sh" ], 74 | Env: [ "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" ], 75 | }, 76 | created: $created, 77 | history: [ { 78 | created: $created, 79 | created_by: $createdBy, 80 | } ], 81 | rootfs: { 82 | type: "layers", 83 | diff_ids: [ $diffId ], 84 | }, 85 | } + $platform 86 | ' > "$oci/image-config.json" 87 | config="$(sha256sum "$oci/image-config.json" | cut -d' ' -f1)" 88 | ln -svfT --relative "$oci/image-config.json" "$oci/blobs/sha256/$config" 89 | configSize="$(stat --format '%s' --dereference "$oci/blobs/sha256/$config")" 90 | config="sha256:$config" 91 | 92 | version="$(cut <<<"$createdBy" -d' ' -f2)" # a better way to scrape the BusyBox version? maybe this is fine (want to avoid yet another container run) 93 | jq -n --tab --arg version "$version" --arg variant "$variant" --arg config "$config" --arg configSize "$configSize" --arg rootfs "$rootfs" --arg rootfsSize "$rootfsSize" ' 94 | { 95 | schemaVersion: 2, 96 | mediaType: "application/vnd.oci.image.manifest.v1+json", 97 | config: { 98 | mediaType: "application/vnd.oci.image.config.v1+json", 99 | digest: $config, 100 | size: ($configSize | tonumber), 101 | }, 102 | layers: [ { 103 | mediaType: "application/vnd.oci.image.layer.v1.tar+gzip", 104 | digest: $rootfs, 105 | size: ($rootfsSize | tonumber), 106 | } ], 107 | annotations: { 108 | "org.opencontainers.image.url": "https://github.com/docker-library/busybox", 109 | "org.opencontainers.image.version": ($version + "-" + $variant), 110 | }, 111 | } 112 | ' > "$oci/image-manifest.json" 113 | manifest="$(sha256sum "$oci/image-manifest.json" | cut -d' ' -f1)" 114 | ln -svfT --relative "$oci/image-manifest.json" "$oci/blobs/sha256/$manifest" 115 | manifestSize="$(stat --format '%s' --dereference "$oci/blobs/sha256/$manifest")" 116 | manifest="sha256:$manifest" 117 | 118 | jq -nc '{ imageLayoutVersion:"1.0.0" }' > "$oci/oci-layout" 119 | jq -n --tab --arg version "$version" --arg variant "$variant" --arg manifest "$manifest" --arg manifestSize "$manifestSize" --argjson platform "$platform" ' 120 | { 121 | schemaVersion: 2, 122 | mediaType: "application/vnd.oci.image.index.v1+json", 123 | manifests: [ { 124 | mediaType: "application/vnd.oci.image.manifest.v1+json", 125 | digest: $manifest, 126 | size: ($manifestSize | tonumber), 127 | platform: $platform, 128 | annotations: { 129 | "org.opencontainers.image.ref.name": ("busybox:" + $version + "-" + $variant), 130 | "io.containerd.image.name": ("busybox:" + $version + "-" + $variant), 131 | }, 132 | } ], 133 | } 134 | ' > "$oci/index.json" 135 | 136 | ln -svfT --relative "$oci/rootfs.tar.gz" "$dir/busybox.tar.gz" 137 | docker build -t "$base-test" "$dir" 138 | docker run --rm "$base-test" sh -xec 'true' 139 | 140 | # detect whether the current host _can_ ping 141 | # (QEMU user-mode networking does not route ping traffic) 142 | shouldPing= 143 | if docker run --rm "$base-builder" ping -c 1 google.com &> /dev/null; then 144 | shouldPing=1 145 | fi 146 | 147 | if [ -n "$shouldPing" ]; then 148 | if ! docker run --rm "$base-test" ping -c 1 google.com; then 149 | sleep 1 150 | docker run --rm "$base-test" ping -c 1 google.com 151 | fi 152 | else 153 | docker run --rm "$base-test" nslookup google.com 154 | fi 155 | 156 | docker images "$base-test" 157 | ) 158 | done 159 | -------------------------------------------------------------------------------- /generate-stackbrew-library.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | set -Eeuo pipefail 3 | 4 | gitHubUrl='https://github.com/docker-library/busybox' 5 | rawGitUrl="$gitHubUrl/raw" 6 | 7 | self="$(basename "$BASH_SOURCE")" 8 | cd "$(dirname "$(readlink -f "$BASH_SOURCE")")" 9 | 10 | if [ "$#" -eq 0 ]; then 11 | versions="$(jq -r 'keys | map(@sh) | join(" ")' versions.json)" 12 | eval "set -- $versions" 13 | fi 14 | 15 | archMaps=( $( 16 | git ls-remote --heads "${gitHubUrl}.git" \ 17 | | awk -F '[\t/]' '$4 ~ /^dist-/ { gsub(/^dist-/, "", $4); print $4 "=" $1 }' \ 18 | | sort 19 | ) ) 20 | arches=() 21 | declare -A archCommits=() 22 | for archMap in "${archMaps[@]}"; do 23 | arch="${archMap%%=*}" 24 | commit="${archMap#${arch}=}" 25 | arches+=( "$arch" ) 26 | archCommits[$arch]="$commit" 27 | done 28 | 29 | selfCommit="$(git log --format='format:%H' -1)" 30 | cat <<-EOH 31 | # this file is generated via $gitHubUrl/blob/$selfCommit/$self 32 | 33 | Maintainers: Tianon Gravi (@tianon), 34 | Joseph Ferguson (@yosifkit) 35 | GitRepo: $gitHubUrl.git 36 | GitCommit: $selfCommit 37 | Builder: oci-import 38 | File: index.json 39 | EOH 40 | for arch in "${arches[@]}"; do 41 | commit="${archCommits[$arch]}" 42 | cat <<-EOA 43 | # $gitHubUrl/tree/dist-${arch} 44 | ${arch}-GitFetch: refs/heads/dist-${arch} 45 | ${arch}-GitCommit: $commit 46 | EOA 47 | done 48 | 49 | # prints "$2$1$3$1...$N" 50 | join() { 51 | local sep="$1"; shift 52 | local out; printf -v out "${sep//%/%%}%s" "$@" 53 | echo "${out#$sep}" 54 | } 55 | 56 | # make sure generic tags like "latest", "1", etc only get used once 57 | declare -A usedTags=() 58 | _tags() { 59 | local tag first= 60 | for tag; do 61 | [ -z "${usedTags[$tag]:-}" ] || continue 62 | usedTags[$tag]=1 63 | if [ -z "$first" ]; then 64 | echo 65 | echo -n 'Tags: ' 66 | first=1 67 | else 68 | echo -n ', ' 69 | fi 70 | echo -n "$tag" 71 | done 72 | if [ -z "$first" ]; then 73 | return 1 74 | fi 75 | echo 76 | return 0 77 | } 78 | 79 | for version; do 80 | export version 81 | 82 | variants="$(jq -r '.[env.version].variants | map(@sh) | join(" ")' versions.json)" 83 | eval "variants=( $variants )" 84 | 85 | fullVersion="$(jq -r '.[env.version].version' versions.json)" 86 | stability="$(jq -r '.[env.version].stability' versions.json)" 87 | 88 | versionAliases=() 89 | while [ "${fullVersion%.*}" != "$fullVersion" ]; do 90 | versionAliases+=( $fullVersion ) 91 | fullVersion="${fullVersion%.*}" 92 | done 93 | versionAliases+=( 94 | $fullVersion 95 | ) 96 | if [ "$version" = 'latest' ] || [ "$stability" != 'unstable' ]; then 97 | # if we have version 1.36.0 labelled as "unstable" and then 1.36.1 is released, we don't want to mark "1.35.0" as the "latest unstable" because that's not true, so only the latest latest latest release can be "unstable" 98 | versionAliases+=( $stability ) 99 | fi 100 | versionAliases+=( latest ) 101 | 102 | actualArches=() 103 | declare -A archLatestDir=() 104 | for variant in "${variants[@]}"; do 105 | dir="$version/$variant" 106 | 107 | variantAliases=( "${versionAliases[@]/%/-$variant}" ) 108 | variantAliases=( "${variantAliases[@]//latest-/}" ) 109 | 110 | variantArches=() 111 | for arch in "${arches[@]}"; do 112 | archCommit="${archCommits[$arch]}" 113 | if wget --quiet --spider -O /dev/null -o /dev/null "$rawGitUrl/$archCommit/$dir/$arch/rootfs.tar.gz"; then 114 | variantArches+=( "$arch" ) 115 | if [ "$arch" = 'riscv64' ] && [ "$variant" = 'glibc' ]; then 116 | : # do not let "glibc" be "latest" on riscv64 until it is no longer based on Debian Unstable 117 | elif [ -z "${archLatestDir[$arch]:-}" ]; then 118 | # record the first supported directory per architecture for "latest" and friends 119 | archLatestDir["$arch"]="$dir/$arch" 120 | actualArches+=( "$arch" ) 121 | fi 122 | fi 123 | done 124 | 125 | if [ "${#variantArches[@]}" -gt 0 ] && _tags "${variantAliases[@]}"; then 126 | cat <<-EOE 127 | Architectures: $(join ', ' "${variantArches[@]}") 128 | EOE 129 | for arch in "${variantArches[@]}"; do 130 | echo "$arch-Directory: $dir/$arch" 131 | done 132 | fi 133 | done 134 | 135 | if [ "${#actualArches[@]}" -gt 0 ] && _tags "${versionAliases[@]}"; then 136 | cat <<-EOE 137 | Architectures: $(join ', ' "${actualArches[@]}") 138 | EOE 139 | for arch in "${actualArches[@]}"; do 140 | archDir="${archLatestDir[$arch]}" 141 | cat <<-EOA 142 | ${arch}-Directory: $archDir 143 | EOA 144 | done 145 | fi 146 | done 147 | -------------------------------------------------------------------------------- /hack-unstable.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | set -Eeuo pipefail 3 | 4 | if [ "$#" -eq 0 ]; then 5 | set -- */*/ 6 | fi 7 | 8 | set -x 9 | 10 | # This is used to modify "Dockerfile.builder" for architectures that are not (yet) supported by stable releases (notably, riscv64). 11 | sed -ri \ 12 | -e 's/^(FROM debian:)[^ -]+/\1unstable/g' \ 13 | "${@/%//Dockerfile.builder}" 14 | -------------------------------------------------------------------------------- /latest-1/glibc/Dockerfile: -------------------------------------------------------------------------------- 1 | # this isn't used for the official published images anymore, but is included for backwards compatibility 2 | # see https://github.com/docker-library/bashbrew/issues/51 3 | FROM scratch 4 | ADD busybox.tar.gz / 5 | CMD ["sh"] 6 | -------------------------------------------------------------------------------- /latest-1/glibc/Dockerfile.builder: -------------------------------------------------------------------------------- 1 | # 2 | # NOTE: THIS DOCKERFILE IS GENERATED VIA "apply-templates.sh" 3 | # 4 | # PLEASE DO NOT EDIT IT DIRECTLY. 5 | # 6 | 7 | FROM debian:bookworm-slim 8 | 9 | RUN set -eux; \ 10 | apt-get update; \ 11 | apt-get install -y \ 12 | bzip2 \ 13 | curl \ 14 | gcc \ 15 | gnupg \ 16 | make \ 17 | patch \ 18 | ; \ 19 | rm -rf /var/lib/apt/lists/* 20 | 21 | # pub 1024D/ACC9965B 2006-12-12 22 | # Key fingerprint = C9E9 416F 76E6 10DB D09D 040F 47B7 0C55 ACC9 965B 23 | # uid Denis Vlasenko 24 | # sub 1024g/2C766641 2006-12-12 25 | RUN mkdir -p ~/.gnupg && gpg --batch --keyserver keyserver.ubuntu.com --recv-keys C9E9416F76E610DBD09D040F47B70C55ACC9965B 26 | 27 | # https://busybox.net: 19 May 2023 28 | ENV BUSYBOX_VERSION 1.36.1 29 | ENV BUSYBOX_SHA256 b8cc24c9574d809e7279c3be349795c5d5ceb6fdf19ca709f80cde50e47de314 30 | 31 | RUN set -eux; \ 32 | tarball="busybox-${BUSYBOX_VERSION}.tar.bz2"; \ 33 | curl -fL -o busybox.tar.bz2.sig "https://busybox.net/downloads/$tarball.sig"; \ 34 | curl -fL -o busybox.tar.bz2 "https://busybox.net/downloads/$tarball"; \ 35 | echo "$BUSYBOX_SHA256 *busybox.tar.bz2" | sha256sum -c -; \ 36 | gpg --batch --verify busybox.tar.bz2.sig busybox.tar.bz2; \ 37 | # Alpine... 😅 38 | mkdir -p /usr/src; \ 39 | tar -xf busybox.tar.bz2 -C /usr/src "busybox-$BUSYBOX_VERSION"; \ 40 | mv "/usr/src/busybox-$BUSYBOX_VERSION" /usr/src/busybox; \ 41 | rm busybox.tar.bz2*; \ 42 | \ 43 | # save the tarball's filesystem timestamp persistently (in case building busybox modifies it) so we can use it for reproducible rootfs later 44 | SOURCE_DATE_EPOCH="$(stat -c '%Y' /usr/src/busybox | tee /usr/src/busybox.SOURCE_DATE_EPOCH)"; \ 45 | date="$(date -d "@$SOURCE_DATE_EPOCH" '+%Y%m%d%H%M.%S')"; \ 46 | touch -t "$date" /usr/src/busybox.SOURCE_DATE_EPOCH; \ 47 | # for logging validation/edification 48 | date --date "@$SOURCE_DATE_EPOCH" --rfc-2822 49 | 50 | WORKDIR /usr/src/busybox 51 | 52 | # apply necessary/minimal patches (see /.patches/ in the top level of the repository) 53 | COPY \ 54 | /.patches/no-cbq.patch \ 55 | ./.patches/ 56 | RUN set -eux; \ 57 | for patch in .patches/*.patch; do \ 58 | patch -p1 --input="$patch"; \ 59 | done; \ 60 | rm -rf .patches 61 | 62 | RUN set -eux; \ 63 | \ 64 | # build date/time gets embedded in the BusyBox binary -- SOURCE_DATE_EPOCH should override that 65 | SOURCE_DATE_EPOCH="$(cat /usr/src/busybox.SOURCE_DATE_EPOCH)"; \ 66 | export SOURCE_DATE_EPOCH; \ 67 | # (has to be set in the config stage for making sure "AUTOCONF_TIMESTAMP" is embedded correctly) 68 | \ 69 | setConfs=' \ 70 | CONFIG_AR=y \ 71 | CONFIG_FEATURE_AR_CREATE=y \ 72 | CONFIG_FEATURE_AR_LONG_FILENAMES=y \ 73 | # CONFIG_LAST_SUPPORTED_WCHAR: see https://github.com/docker-library/busybox/issues/13 (UTF-8 input) 74 | CONFIG_LAST_SUPPORTED_WCHAR=0 \ 75 | # As long as we rely on libnss (see below), we have to have libc.so anyhow, so we've removed CONFIG_STATIC here... 😭 76 | '; \ 77 | \ 78 | unsetConfs=' \ 79 | CONFIG_FEATURE_SYNC_FANCY \ 80 | '; \ 81 | \ 82 | make defconfig; \ 83 | \ 84 | for conf in $unsetConfs; do \ 85 | sed -i \ 86 | -e "s!^$conf=.*\$!# $conf is not set!" \ 87 | .config; \ 88 | done; \ 89 | \ 90 | for confV in $setConfs; do \ 91 | conf="${confV%=*}"; \ 92 | sed -i \ 93 | -e "s!^$conf=.*\$!$confV!" \ 94 | -e "s!^# $conf is not set\$!$confV!" \ 95 | .config; \ 96 | if ! grep -q "^$confV\$" .config; then \ 97 | echo "$confV" >> .config; \ 98 | fi; \ 99 | done; \ 100 | \ 101 | make oldconfig; \ 102 | \ 103 | # trust, but verify 104 | for conf in $unsetConfs; do \ 105 | ! grep -q "^$conf=" .config; \ 106 | done; \ 107 | for confV in $setConfs; do \ 108 | grep -q "^$confV\$" .config; \ 109 | done 110 | 111 | RUN set -eux; \ 112 | nproc="$(nproc)"; \ 113 | # https://git.busybox.net/busybox/tree/Makefile?h=1_37_stable#n145 114 | # we need to override SUBARCH explicitly (via ARCH) to avoid "uname -m" which gives the wrong answer for builds like i386 on an amd64 machine because kernel architecture != userspace architecture 115 | # see https://git.busybox.net/busybox/tree/arch?h=1_37_stable#n145 for the only important values this *has* to match (everything else is best-effort, and needs to match the munging in https://git.busybox.net/busybox/tree/Makefile?h=1_37_stable#n185) 116 | distroArch="$(dpkg --print-architecture)"; \ 117 | case "$distroArch" in \ 118 | amd64 | x86_64) ARCH='x86_64' ;; \ 119 | arm64 | aarch64) ARCH='aarch64' ;; \ 120 | armhf | armel | armv*) ARCH='arm' ;; \ 121 | i386 | x86) ARCH='i386' ;; \ 122 | mips*) ARCH='mips' ;; \ 123 | ppc*) ARCH='powerpc' ;; \ 124 | riscv64) ARCH='riscv64' ;; \ 125 | s390x) ARCH='s390' ;; \ 126 | *) echo >&2 "error: unknown architecture: '$distroArch'"; exit 1 ;; \ 127 | esac; \ 128 | [ -n "$ARCH" ]; \ 129 | export ARCH; \ 130 | make -j "$nproc" busybox; \ 131 | ./busybox --help; \ 132 | mkdir -p rootfs/bin; \ 133 | ln -vL busybox rootfs/bin/; \ 134 | \ 135 | # copy "getconf" from Debian 136 | getconf="$(which getconf)"; \ 137 | ln -vL "$getconf" rootfs/bin/getconf; \ 138 | \ 139 | # hack hack hack hack hack 140 | # with glibc, busybox (static or not) uses libnss for DNS resolution :( 141 | mkdir -p rootfs/etc; \ 142 | cp /etc/nsswitch.conf rootfs/etc/; \ 143 | mkdir -p rootfs/lib; \ 144 | ln -sT lib rootfs/lib64; \ 145 | gccMultiarch="$(gcc -print-multiarch)"; \ 146 | set -- \ 147 | rootfs/bin/busybox \ 148 | rootfs/bin/getconf \ 149 | /lib/"$gccMultiarch"/libnss*.so.* \ 150 | # libpthread is part of glibc: https://stackoverflow.com/a/11210463/433558 151 | /lib/"$gccMultiarch"/libpthread*.so.* \ 152 | ; \ 153 | while [ "$#" -gt 0 ]; do \ 154 | f="$1"; shift; \ 155 | fn="$(basename "$f")"; \ 156 | if [ -e "rootfs/lib/$fn" ]; then continue; fi; \ 157 | if [ "${f#rootfs/}" = "$f" ]; then \ 158 | if [ "${fn#ld-}" = "$fn" ]; then \ 159 | ln -vL "$f" "rootfs/lib/$fn"; \ 160 | else \ 161 | cp -v "$f" "rootfs/lib/$fn"; \ 162 | fi; \ 163 | fi; \ 164 | ldd="$(ldd "$f" | awk ' \ 165 | $1 ~ /^\// { print $1; next } \ 166 | $2 == "=>" && $3 ~ /^\// { print $3; next } \ 167 | ')"; \ 168 | set -- "$@" $ldd; \ 169 | done; \ 170 | chroot rootfs /bin/getconf _NPROCESSORS_ONLN; \ 171 | \ 172 | # TODO make this create symlinks instead so the output tarball is cleaner (but "-s" outputs absolute symlinks which is kind of annoying to deal with -- we should also consider letting busybox determine the "install paths"; see "busybox --list-full") 173 | chroot rootfs /bin/busybox --install /bin 174 | 175 | # install a few extra files from buildroot (/etc/passwd, etc) 176 | RUN set -eux; \ 177 | buildrootVersion='2025.02.3'; \ 178 | for file in \ 179 | system/device_table.txt \ 180 | system/skeleton/etc/group \ 181 | system/skeleton/etc/passwd \ 182 | system/skeleton/etc/shadow \ 183 | ; do \ 184 | dir="$(dirname "$file")"; \ 185 | mkdir -p "../buildroot/$dir"; \ 186 | curl -fL -o "../buildroot/$file" "https://gitlab.com/buildroot.org/buildroot/-/raw/$buildrootVersion/$file"; \ 187 | [ -s "../buildroot/$file" ]; \ 188 | done; \ 189 | \ 190 | mkdir -p rootfs/etc; \ 191 | ln -vL \ 192 | ../buildroot/system/skeleton/etc/group \ 193 | ../buildroot/system/skeleton/etc/passwd \ 194 | ../buildroot/system/skeleton/etc/shadow \ 195 | rootfs/etc/ \ 196 | ; \ 197 | # CVE-2019-5021, https://github.com/docker-library/official-images/pull/5880#issuecomment-490681907 198 | grep -E '^root::' rootfs/etc/shadow; \ 199 | sed -ri -e 's/^root::/root:*:/' rootfs/etc/shadow; \ 200 | grep -E '^root:[*]:' rootfs/etc/shadow; \ 201 | # set expected permissions, etc too (https://gitlab.com/buildroot.org/buildroot/-/blob/HEAD/system/device_table.txt) 202 | awk ' \ 203 | !/^#/ { \ 204 | if ($2 != "d" && $2 != "f") { \ 205 | printf "error: unknown type \"%s\" encountered in line %d: %s\n", $2, NR, $0 > "/dev/stderr"; \ 206 | exit 1; \ 207 | } \ 208 | sub(/^\/?/, "rootfs/", $1); \ 209 | if ($2 == "d") { \ 210 | printf "mkdir -p %s\n", $1; \ 211 | } \ 212 | printf "chmod %s %s\n", $3, $1; \ 213 | } \ 214 | ' ../buildroot/system/device_table.txt | sh -eux 215 | 216 | # create missing home directories and ensure /usr/bin/env exists 217 | RUN set -eux; \ 218 | cd rootfs; \ 219 | for userHome in $(awk -F ':' '{ print $3 ":" $4 "=" $6 }' etc/passwd); do \ 220 | user="${userHome%%=*}"; \ 221 | home="${userHome#*=}"; \ 222 | home="./${home#/}"; \ 223 | if [ ! -d "$home" ]; then \ 224 | mkdir -p "$home"; \ 225 | chown "$user" "$home"; \ 226 | chmod 755 "$home"; \ 227 | fi; \ 228 | done; \ 229 | if [ ! -s usr/bin/env ] && [ -s bin/env ]; then \ 230 | mkdir -p usr/bin; \ 231 | ln -s ../../bin/env usr/bin/; \ 232 | fi 233 | 234 | # test and make sure it works 235 | RUN chroot rootfs /usr/bin/env sh -xec 'true' 236 | 237 | # ensure correct timezone (UTC) 238 | RUN set -eux; \ 239 | ln -vL /usr/share/zoneinfo/UTC rootfs/etc/localtime; \ 240 | [ "$(chroot rootfs date +%Z)" = 'UTC' ] 241 | 242 | # test and make sure DNS works too 243 | RUN set -eux; \ 244 | cp -L /etc/resolv.conf rootfs/etc/; \ 245 | chroot rootfs /bin/sh -xec 'nslookup google.com'; \ 246 | rm rootfs/etc/resolv.conf 247 | 248 | # vim:set ft=dockerfile: 249 | -------------------------------------------------------------------------------- /latest-1/glibc/amd64/blobs/sha256/8cac9c34e220de273cc3f255b4472cdb639d59fe848f51df8d7d5ddd3dbd378e: -------------------------------------------------------------------------------- 1 | ../../image-manifest.json -------------------------------------------------------------------------------- /latest-1/glibc/amd64/blobs/sha256/ae1d923cbe21706d4f9677ce8b05bad652be748ce7695a9137438a1e13bb0066: -------------------------------------------------------------------------------- 1 | ../../image-config.json -------------------------------------------------------------------------------- /latest-1/glibc/amd64/blobs/sha256/c464210ed74876e1229e7a337e6274297f4eb55b120635f73e2844408ae3ef13: -------------------------------------------------------------------------------- 1 | ../../rootfs.tar.gz -------------------------------------------------------------------------------- /latest-1/glibc/amd64/image-config.json: -------------------------------------------------------------------------------- 1 | { 2 | "config": { 3 | "Cmd": [ 4 | "sh" 5 | ], 6 | "Env": [ 7 | "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" 8 | ] 9 | }, 10 | "created": "2023-05-18T22:34:17Z", 11 | "history": [ 12 | { 13 | "created": "2023-05-18T22:34:17Z", 14 | "created_by": "BusyBox 1.36.1 (glibc), Debian 12" 15 | } 16 | ], 17 | "rootfs": { 18 | "type": "layers", 19 | "diff_ids": [ 20 | "sha256:2cdfc67c0816c2b7015081259eb6ac437b90828ef2a862e689b13afc14a2a4ab" 21 | ] 22 | }, 23 | "architecture": "amd64", 24 | "os": "linux" 25 | } 26 | -------------------------------------------------------------------------------- /latest-1/glibc/amd64/image-manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "schemaVersion": 2, 3 | "mediaType": "application/vnd.oci.image.manifest.v1+json", 4 | "config": { 5 | "mediaType": "application/vnd.oci.image.config.v1+json", 6 | "digest": "sha256:ae1d923cbe21706d4f9677ce8b05bad652be748ce7695a9137438a1e13bb0066", 7 | "size": 459 8 | }, 9 | "layers": [ 10 | { 11 | "mediaType": "application/vnd.oci.image.layer.v1.tar+gzip", 12 | "digest": "sha256:c464210ed74876e1229e7a337e6274297f4eb55b120635f73e2844408ae3ef13", 13 | "size": 2141232 14 | } 15 | ], 16 | "annotations": { 17 | "org.opencontainers.image.url": "https://github.com/docker-library/busybox", 18 | "org.opencontainers.image.version": "1.36.1-glibc" 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /latest-1/glibc/amd64/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "schemaVersion": 2, 3 | "mediaType": "application/vnd.oci.image.index.v1+json", 4 | "manifests": [ 5 | { 6 | "mediaType": "application/vnd.oci.image.manifest.v1+json", 7 | "digest": "sha256:8cac9c34e220de273cc3f255b4472cdb639d59fe848f51df8d7d5ddd3dbd378e", 8 | "size": 610, 9 | "platform": { 10 | "architecture": "amd64", 11 | "os": "linux" 12 | }, 13 | "annotations": { 14 | "org.opencontainers.image.ref.name": "busybox:1.36.1-glibc", 15 | "io.containerd.image.name": "busybox:1.36.1-glibc" 16 | } 17 | } 18 | ] 19 | } 20 | -------------------------------------------------------------------------------- /latest-1/glibc/amd64/oci-layout: -------------------------------------------------------------------------------- 1 | {"imageLayoutVersion":"1.0.0"} 2 | -------------------------------------------------------------------------------- /latest-1/glibc/arm32v5/blobs/sha256/0f60bfbd33d454f27365b9253b81efbcc9f166b7451d9ff21f105ac7a918faeb: -------------------------------------------------------------------------------- 1 | ../../rootfs.tar.gz -------------------------------------------------------------------------------- /latest-1/glibc/arm32v5/blobs/sha256/470d7970e08c0d3184bf3e63a362929bb828deadabdcccd524a98d9f3b6d7eb6: -------------------------------------------------------------------------------- 1 | ../../image-config.json -------------------------------------------------------------------------------- /latest-1/glibc/arm32v5/blobs/sha256/948ea15a937713077ab2955415c85d55206ff8ed96f262ae91c3d1a6f6fcde38: -------------------------------------------------------------------------------- 1 | ../../image-manifest.json -------------------------------------------------------------------------------- /latest-1/glibc/arm32v5/image-config.json: -------------------------------------------------------------------------------- 1 | { 2 | "config": { 3 | "Cmd": [ 4 | "sh" 5 | ], 6 | "Env": [ 7 | "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" 8 | ] 9 | }, 10 | "created": "2023-05-18T22:34:17Z", 11 | "history": [ 12 | { 13 | "created": "2023-05-18T22:34:17Z", 14 | "created_by": "BusyBox 1.36.1 (glibc), Debian 12" 15 | } 16 | ], 17 | "rootfs": { 18 | "type": "layers", 19 | "diff_ids": [ 20 | "sha256:3c8f2f1501eb68d5b8a5c1be9ebec4005d536c008e968285faf6b028761050fb" 21 | ] 22 | }, 23 | "architecture": "arm", 24 | "os": "linux", 25 | "variant": "v5" 26 | } 27 | -------------------------------------------------------------------------------- /latest-1/glibc/arm32v5/image-manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "schemaVersion": 2, 3 | "mediaType": "application/vnd.oci.image.manifest.v1+json", 4 | "config": { 5 | "mediaType": "application/vnd.oci.image.config.v1+json", 6 | "digest": "sha256:470d7970e08c0d3184bf3e63a362929bb828deadabdcccd524a98d9f3b6d7eb6", 7 | "size": 475 8 | }, 9 | "layers": [ 10 | { 11 | "mediaType": "application/vnd.oci.image.layer.v1.tar+gzip", 12 | "digest": "sha256:0f60bfbd33d454f27365b9253b81efbcc9f166b7451d9ff21f105ac7a918faeb", 13 | "size": 1777512 14 | } 15 | ], 16 | "annotations": { 17 | "org.opencontainers.image.url": "https://github.com/docker-library/busybox", 18 | "org.opencontainers.image.version": "1.36.1-glibc" 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /latest-1/glibc/arm32v5/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "schemaVersion": 2, 3 | "mediaType": "application/vnd.oci.image.index.v1+json", 4 | "manifests": [ 5 | { 6 | "mediaType": "application/vnd.oci.image.manifest.v1+json", 7 | "digest": "sha256:948ea15a937713077ab2955415c85d55206ff8ed96f262ae91c3d1a6f6fcde38", 8 | "size": 610, 9 | "platform": { 10 | "architecture": "arm", 11 | "os": "linux", 12 | "variant": "v5" 13 | }, 14 | "annotations": { 15 | "org.opencontainers.image.ref.name": "busybox:1.36.1-glibc", 16 | "io.containerd.image.name": "busybox:1.36.1-glibc" 17 | } 18 | } 19 | ] 20 | } 21 | -------------------------------------------------------------------------------- /latest-1/glibc/arm32v5/oci-layout: -------------------------------------------------------------------------------- 1 | {"imageLayoutVersion":"1.0.0"} 2 | -------------------------------------------------------------------------------- /latest-1/glibc/arm32v7/blobs/sha256/460c140b2d4643a05eb6b024385d6bb41cec14bff465565a692ee4d6dd2aca7b: -------------------------------------------------------------------------------- 1 | ../../image-manifest.json -------------------------------------------------------------------------------- /latest-1/glibc/arm32v7/blobs/sha256/490ccff27b59959d5bf1e64efe49ec62b2b540bcb11c6d6385e5f95a626071c2: -------------------------------------------------------------------------------- 1 | ../../rootfs.tar.gz -------------------------------------------------------------------------------- /latest-1/glibc/arm32v7/blobs/sha256/5424ca0da622b709915c4b6a391643f51ef3424c950d918211a1cc94e352ea2b: -------------------------------------------------------------------------------- 1 | ../../image-config.json -------------------------------------------------------------------------------- /latest-1/glibc/arm32v7/image-config.json: -------------------------------------------------------------------------------- 1 | { 2 | "config": { 3 | "Cmd": [ 4 | "sh" 5 | ], 6 | "Env": [ 7 | "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" 8 | ] 9 | }, 10 | "created": "2023-05-18T22:34:17Z", 11 | "history": [ 12 | { 13 | "created": "2023-05-18T22:34:17Z", 14 | "created_by": "BusyBox 1.36.1 (glibc), Debian 12" 15 | } 16 | ], 17 | "rootfs": { 18 | "type": "layers", 19 | "diff_ids": [ 20 | "sha256:2e37cfe70ccc1e1ad5adeea07a96b924858cacd0bcfc52dde1a4eab7e8bebd2e" 21 | ] 22 | }, 23 | "architecture": "arm", 24 | "os": "linux", 25 | "variant": "v7" 26 | } 27 | -------------------------------------------------------------------------------- /latest-1/glibc/arm32v7/image-manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "schemaVersion": 2, 3 | "mediaType": "application/vnd.oci.image.manifest.v1+json", 4 | "config": { 5 | "mediaType": "application/vnd.oci.image.config.v1+json", 6 | "digest": "sha256:5424ca0da622b709915c4b6a391643f51ef3424c950d918211a1cc94e352ea2b", 7 | "size": 475 8 | }, 9 | "layers": [ 10 | { 11 | "mediaType": "application/vnd.oci.image.layer.v1.tar+gzip", 12 | "digest": "sha256:490ccff27b59959d5bf1e64efe49ec62b2b540bcb11c6d6385e5f95a626071c2", 13 | "size": 1554922 14 | } 15 | ], 16 | "annotations": { 17 | "org.opencontainers.image.url": "https://github.com/docker-library/busybox", 18 | "org.opencontainers.image.version": "1.36.1-glibc" 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /latest-1/glibc/arm32v7/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "schemaVersion": 2, 3 | "mediaType": "application/vnd.oci.image.index.v1+json", 4 | "manifests": [ 5 | { 6 | "mediaType": "application/vnd.oci.image.manifest.v1+json", 7 | "digest": "sha256:460c140b2d4643a05eb6b024385d6bb41cec14bff465565a692ee4d6dd2aca7b", 8 | "size": 610, 9 | "platform": { 10 | "architecture": "arm", 11 | "os": "linux", 12 | "variant": "v7" 13 | }, 14 | "annotations": { 15 | "org.opencontainers.image.ref.name": "busybox:1.36.1-glibc", 16 | "io.containerd.image.name": "busybox:1.36.1-glibc" 17 | } 18 | } 19 | ] 20 | } 21 | -------------------------------------------------------------------------------- /latest-1/glibc/arm32v7/oci-layout: -------------------------------------------------------------------------------- 1 | {"imageLayoutVersion":"1.0.0"} 2 | -------------------------------------------------------------------------------- /latest-1/glibc/arm64v8/blobs/sha256/160de00d05aab68908e607f83e473de9251d8d8d73f08f38a2606354b2bfbd1f: -------------------------------------------------------------------------------- 1 | ../../rootfs.tar.gz -------------------------------------------------------------------------------- /latest-1/glibc/arm64v8/blobs/sha256/2394760438e0c02f5a979042f0960599460998092991252e7c23cb00595be3a2: -------------------------------------------------------------------------------- 1 | ../../image-manifest.json -------------------------------------------------------------------------------- /latest-1/glibc/arm64v8/blobs/sha256/6e35904c88f6b4669d2402fb137fbe199ce284b536267de45a3f952a388d034b: -------------------------------------------------------------------------------- 1 | ../../image-config.json -------------------------------------------------------------------------------- /latest-1/glibc/arm64v8/image-config.json: -------------------------------------------------------------------------------- 1 | { 2 | "config": { 3 | "Cmd": [ 4 | "sh" 5 | ], 6 | "Env": [ 7 | "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" 8 | ] 9 | }, 10 | "created": "2023-05-18T22:34:17Z", 11 | "history": [ 12 | { 13 | "created": "2023-05-18T22:34:17Z", 14 | "created_by": "BusyBox 1.36.1 (glibc), Debian 12" 15 | } 16 | ], 17 | "rootfs": { 18 | "type": "layers", 19 | "diff_ids": [ 20 | "sha256:9253810327aea7b6d1517e885cd16aa322dd3ec68ffc5bc5a1556fa2a2553fec" 21 | ] 22 | }, 23 | "architecture": "arm64", 24 | "os": "linux", 25 | "variant": "v8" 26 | } 27 | -------------------------------------------------------------------------------- /latest-1/glibc/arm64v8/image-manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "schemaVersion": 2, 3 | "mediaType": "application/vnd.oci.image.manifest.v1+json", 4 | "config": { 5 | "mediaType": "application/vnd.oci.image.config.v1+json", 6 | "digest": "sha256:6e35904c88f6b4669d2402fb137fbe199ce284b536267de45a3f952a388d034b", 7 | "size": 477 8 | }, 9 | "layers": [ 10 | { 11 | "mediaType": "application/vnd.oci.image.layer.v1.tar+gzip", 12 | "digest": "sha256:160de00d05aab68908e607f83e473de9251d8d8d73f08f38a2606354b2bfbd1f", 13 | "size": 1841044 14 | } 15 | ], 16 | "annotations": { 17 | "org.opencontainers.image.url": "https://github.com/docker-library/busybox", 18 | "org.opencontainers.image.version": "1.36.1-glibc" 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /latest-1/glibc/arm64v8/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "schemaVersion": 2, 3 | "mediaType": "application/vnd.oci.image.index.v1+json", 4 | "manifests": [ 5 | { 6 | "mediaType": "application/vnd.oci.image.manifest.v1+json", 7 | "digest": "sha256:2394760438e0c02f5a979042f0960599460998092991252e7c23cb00595be3a2", 8 | "size": 610, 9 | "platform": { 10 | "architecture": "arm64", 11 | "os": "linux", 12 | "variant": "v8" 13 | }, 14 | "annotations": { 15 | "org.opencontainers.image.ref.name": "busybox:1.36.1-glibc", 16 | "io.containerd.image.name": "busybox:1.36.1-glibc" 17 | } 18 | } 19 | ] 20 | } 21 | -------------------------------------------------------------------------------- /latest-1/glibc/arm64v8/oci-layout: -------------------------------------------------------------------------------- 1 | {"imageLayoutVersion":"1.0.0"} 2 | -------------------------------------------------------------------------------- /latest-1/glibc/i386/blobs/sha256/29e8b9be3ec61d471e6016d3b6f05dadbb4b7b1b3ba69e793e74b16847d0b5d9: -------------------------------------------------------------------------------- 1 | ../../image-config.json -------------------------------------------------------------------------------- /latest-1/glibc/i386/blobs/sha256/830d66af280fedd5cb5cb353b14f670a6653205851599b5eefeee441a5fd7dbd: -------------------------------------------------------------------------------- 1 | ../../rootfs.tar.gz -------------------------------------------------------------------------------- /latest-1/glibc/i386/blobs/sha256/88fc722c54c256ed1f13cc9f2f89ffc6cea57346b43d92217a678ca09fdd4d58: -------------------------------------------------------------------------------- 1 | ../../image-manifest.json -------------------------------------------------------------------------------- /latest-1/glibc/i386/image-config.json: -------------------------------------------------------------------------------- 1 | { 2 | "config": { 3 | "Cmd": [ 4 | "sh" 5 | ], 6 | "Env": [ 7 | "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" 8 | ] 9 | }, 10 | "created": "2023-05-18T22:34:17Z", 11 | "history": [ 12 | { 13 | "created": "2023-05-18T22:34:17Z", 14 | "created_by": "BusyBox 1.36.1 (glibc), Debian 12" 15 | } 16 | ], 17 | "rootfs": { 18 | "type": "layers", 19 | "diff_ids": [ 20 | "sha256:4485cff79409cb83c761a4addf34fce1069e97a21740588554edeacc6affe15a" 21 | ] 22 | }, 23 | "architecture": "386", 24 | "os": "linux" 25 | } 26 | -------------------------------------------------------------------------------- /latest-1/glibc/i386/image-manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "schemaVersion": 2, 3 | "mediaType": "application/vnd.oci.image.manifest.v1+json", 4 | "config": { 5 | "mediaType": "application/vnd.oci.image.config.v1+json", 6 | "digest": "sha256:29e8b9be3ec61d471e6016d3b6f05dadbb4b7b1b3ba69e793e74b16847d0b5d9", 7 | "size": 457 8 | }, 9 | "layers": [ 10 | { 11 | "mediaType": "application/vnd.oci.image.layer.v1.tar+gzip", 12 | "digest": "sha256:830d66af280fedd5cb5cb353b14f670a6653205851599b5eefeee441a5fd7dbd", 13 | "size": 2206213 14 | } 15 | ], 16 | "annotations": { 17 | "org.opencontainers.image.url": "https://github.com/docker-library/busybox", 18 | "org.opencontainers.image.version": "1.36.1-glibc" 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /latest-1/glibc/i386/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "schemaVersion": 2, 3 | "mediaType": "application/vnd.oci.image.index.v1+json", 4 | "manifests": [ 5 | { 6 | "mediaType": "application/vnd.oci.image.manifest.v1+json", 7 | "digest": "sha256:88fc722c54c256ed1f13cc9f2f89ffc6cea57346b43d92217a678ca09fdd4d58", 8 | "size": 610, 9 | "platform": { 10 | "architecture": "386", 11 | "os": "linux" 12 | }, 13 | "annotations": { 14 | "org.opencontainers.image.ref.name": "busybox:1.36.1-glibc", 15 | "io.containerd.image.name": "busybox:1.36.1-glibc" 16 | } 17 | } 18 | ] 19 | } 20 | -------------------------------------------------------------------------------- /latest-1/glibc/i386/oci-layout: -------------------------------------------------------------------------------- 1 | {"imageLayoutVersion":"1.0.0"} 2 | -------------------------------------------------------------------------------- /latest-1/glibc/mips64le/blobs/sha256/936ea6d0ac79fac42c92f6b0fb203caa5f64ec0fc7bd4f4827f15896880f4dd2: -------------------------------------------------------------------------------- 1 | ../../rootfs.tar.gz -------------------------------------------------------------------------------- /latest-1/glibc/mips64le/blobs/sha256/9a7fb8df90f93bd84c31038c2a96c29f709932d29c8a4cb7e281b8a30c274978: -------------------------------------------------------------------------------- 1 | ../../image-config.json -------------------------------------------------------------------------------- /latest-1/glibc/mips64le/blobs/sha256/aef434d7e582fb1c99d2bb39fb8f0a999e35d24e4e9e2b7de6ab2c0e2eca7f9e: -------------------------------------------------------------------------------- 1 | ../../image-manifest.json -------------------------------------------------------------------------------- /latest-1/glibc/mips64le/image-config.json: -------------------------------------------------------------------------------- 1 | { 2 | "config": { 3 | "Cmd": [ 4 | "sh" 5 | ], 6 | "Env": [ 7 | "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" 8 | ] 9 | }, 10 | "created": "2023-05-18T22:34:17Z", 11 | "history": [ 12 | { 13 | "created": "2023-05-18T22:34:17Z", 14 | "created_by": "BusyBox 1.36.1 (glibc), Debian 12" 15 | } 16 | ], 17 | "rootfs": { 18 | "type": "layers", 19 | "diff_ids": [ 20 | "sha256:f97c5cea2e45cb949b0bd67141e7121bb1327d101c088c897623d808d47ac9ba" 21 | ] 22 | }, 23 | "architecture": "mips64le", 24 | "os": "linux" 25 | } 26 | -------------------------------------------------------------------------------- /latest-1/glibc/mips64le/image-manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "schemaVersion": 2, 3 | "mediaType": "application/vnd.oci.image.manifest.v1+json", 4 | "config": { 5 | "mediaType": "application/vnd.oci.image.config.v1+json", 6 | "digest": "sha256:9a7fb8df90f93bd84c31038c2a96c29f709932d29c8a4cb7e281b8a30c274978", 7 | "size": 462 8 | }, 9 | "layers": [ 10 | { 11 | "mediaType": "application/vnd.oci.image.layer.v1.tar+gzip", 12 | "digest": "sha256:936ea6d0ac79fac42c92f6b0fb203caa5f64ec0fc7bd4f4827f15896880f4dd2", 13 | "size": 2077684 14 | } 15 | ], 16 | "annotations": { 17 | "org.opencontainers.image.url": "https://github.com/docker-library/busybox", 18 | "org.opencontainers.image.version": "1.36.1-glibc" 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /latest-1/glibc/mips64le/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "schemaVersion": 2, 3 | "mediaType": "application/vnd.oci.image.index.v1+json", 4 | "manifests": [ 5 | { 6 | "mediaType": "application/vnd.oci.image.manifest.v1+json", 7 | "digest": "sha256:aef434d7e582fb1c99d2bb39fb8f0a999e35d24e4e9e2b7de6ab2c0e2eca7f9e", 8 | "size": 610, 9 | "platform": { 10 | "architecture": "mips64le", 11 | "os": "linux" 12 | }, 13 | "annotations": { 14 | "org.opencontainers.image.ref.name": "busybox:1.36.1-glibc", 15 | "io.containerd.image.name": "busybox:1.36.1-glibc" 16 | } 17 | } 18 | ] 19 | } 20 | -------------------------------------------------------------------------------- /latest-1/glibc/mips64le/oci-layout: -------------------------------------------------------------------------------- 1 | {"imageLayoutVersion":"1.0.0"} 2 | -------------------------------------------------------------------------------- /latest-1/glibc/ppc64le/blobs/sha256/163228496d1f3c64711a0b4e2cc91a8cd0df9c7a7eb33566fc69489fa4c262df: -------------------------------------------------------------------------------- 1 | ../../image-config.json -------------------------------------------------------------------------------- /latest-1/glibc/ppc64le/blobs/sha256/75ec0c3fe7cdefae209f7d92e8cd2e3b8d29072a8361491a19ddd11b1eabc551: -------------------------------------------------------------------------------- 1 | ../../rootfs.tar.gz -------------------------------------------------------------------------------- /latest-1/glibc/ppc64le/blobs/sha256/df4040317ece1fa085bd77fa8259e09436088d7bfe05ed1a7c7a5d849ec01817: -------------------------------------------------------------------------------- 1 | ../../image-manifest.json -------------------------------------------------------------------------------- /latest-1/glibc/ppc64le/image-config.json: -------------------------------------------------------------------------------- 1 | { 2 | "config": { 3 | "Cmd": [ 4 | "sh" 5 | ], 6 | "Env": [ 7 | "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" 8 | ] 9 | }, 10 | "created": "2023-05-18T22:34:17Z", 11 | "history": [ 12 | { 13 | "created": "2023-05-18T22:34:17Z", 14 | "created_by": "BusyBox 1.36.1 (glibc), Debian 12" 15 | } 16 | ], 17 | "rootfs": { 18 | "type": "layers", 19 | "diff_ids": [ 20 | "sha256:c1630554c019d7442aa827b54e78c709e79ee419fc13df92df158358f9c7c35a" 21 | ] 22 | }, 23 | "architecture": "ppc64le", 24 | "os": "linux" 25 | } 26 | -------------------------------------------------------------------------------- /latest-1/glibc/ppc64le/image-manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "schemaVersion": 2, 3 | "mediaType": "application/vnd.oci.image.manifest.v1+json", 4 | "config": { 5 | "mediaType": "application/vnd.oci.image.config.v1+json", 6 | "digest": "sha256:163228496d1f3c64711a0b4e2cc91a8cd0df9c7a7eb33566fc69489fa4c262df", 7 | "size": 461 8 | }, 9 | "layers": [ 10 | { 11 | "mediaType": "application/vnd.oci.image.layer.v1.tar+gzip", 12 | "digest": "sha256:75ec0c3fe7cdefae209f7d92e8cd2e3b8d29072a8361491a19ddd11b1eabc551", 13 | "size": 2461600 14 | } 15 | ], 16 | "annotations": { 17 | "org.opencontainers.image.url": "https://github.com/docker-library/busybox", 18 | "org.opencontainers.image.version": "1.36.1-glibc" 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /latest-1/glibc/ppc64le/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "schemaVersion": 2, 3 | "mediaType": "application/vnd.oci.image.index.v1+json", 4 | "manifests": [ 5 | { 6 | "mediaType": "application/vnd.oci.image.manifest.v1+json", 7 | "digest": "sha256:df4040317ece1fa085bd77fa8259e09436088d7bfe05ed1a7c7a5d849ec01817", 8 | "size": 610, 9 | "platform": { 10 | "architecture": "ppc64le", 11 | "os": "linux" 12 | }, 13 | "annotations": { 14 | "org.opencontainers.image.ref.name": "busybox:1.36.1-glibc", 15 | "io.containerd.image.name": "busybox:1.36.1-glibc" 16 | } 17 | } 18 | ] 19 | } 20 | -------------------------------------------------------------------------------- /latest-1/glibc/ppc64le/oci-layout: -------------------------------------------------------------------------------- 1 | {"imageLayoutVersion":"1.0.0"} 2 | -------------------------------------------------------------------------------- /latest-1/glibc/s390x/blobs/sha256/28511670507f443fad519a8f7d9d8a2a2b239e509eb6996ac404600bcb87126b: -------------------------------------------------------------------------------- 1 | ../../image-config.json -------------------------------------------------------------------------------- /latest-1/glibc/s390x/blobs/sha256/c68de02af56aafbb48039100b1ed160ddddeaa7546a9db6540d68b66831ca65f: -------------------------------------------------------------------------------- 1 | ../../rootfs.tar.gz -------------------------------------------------------------------------------- /latest-1/glibc/s390x/blobs/sha256/cbfd8328c46ebbf0844a5c6e291bb776c4e2bf922a86e5f8bc4e9f741e9ddf9e: -------------------------------------------------------------------------------- 1 | ../../image-manifest.json -------------------------------------------------------------------------------- /latest-1/glibc/s390x/image-config.json: -------------------------------------------------------------------------------- 1 | { 2 | "config": { 3 | "Cmd": [ 4 | "sh" 5 | ], 6 | "Env": [ 7 | "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" 8 | ] 9 | }, 10 | "created": "2023-05-18T22:34:17Z", 11 | "history": [ 12 | { 13 | "created": "2023-05-18T22:34:17Z", 14 | "created_by": "BusyBox 1.36.1 (glibc), Debian 12" 15 | } 16 | ], 17 | "rootfs": { 18 | "type": "layers", 19 | "diff_ids": [ 20 | "sha256:68633dc6a0b4badeeed3f05c8d02bc4a5a2e3427d55233e7eb21030b6a26693c" 21 | ] 22 | }, 23 | "architecture": "s390x", 24 | "os": "linux" 25 | } 26 | -------------------------------------------------------------------------------- /latest-1/glibc/s390x/image-manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "schemaVersion": 2, 3 | "mediaType": "application/vnd.oci.image.manifest.v1+json", 4 | "config": { 5 | "mediaType": "application/vnd.oci.image.config.v1+json", 6 | "digest": "sha256:28511670507f443fad519a8f7d9d8a2a2b239e509eb6996ac404600bcb87126b", 7 | "size": 459 8 | }, 9 | "layers": [ 10 | { 11 | "mediaType": "application/vnd.oci.image.layer.v1.tar+gzip", 12 | "digest": "sha256:c68de02af56aafbb48039100b1ed160ddddeaa7546a9db6540d68b66831ca65f", 13 | "size": 1881931 14 | } 15 | ], 16 | "annotations": { 17 | "org.opencontainers.image.url": "https://github.com/docker-library/busybox", 18 | "org.opencontainers.image.version": "1.36.1-glibc" 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /latest-1/glibc/s390x/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "schemaVersion": 2, 3 | "mediaType": "application/vnd.oci.image.index.v1+json", 4 | "manifests": [ 5 | { 6 | "mediaType": "application/vnd.oci.image.manifest.v1+json", 7 | "digest": "sha256:cbfd8328c46ebbf0844a5c6e291bb776c4e2bf922a86e5f8bc4e9f741e9ddf9e", 8 | "size": 610, 9 | "platform": { 10 | "architecture": "s390x", 11 | "os": "linux" 12 | }, 13 | "annotations": { 14 | "org.opencontainers.image.ref.name": "busybox:1.36.1-glibc", 15 | "io.containerd.image.name": "busybox:1.36.1-glibc" 16 | } 17 | } 18 | ] 19 | } 20 | -------------------------------------------------------------------------------- /latest-1/glibc/s390x/oci-layout: -------------------------------------------------------------------------------- 1 | {"imageLayoutVersion":"1.0.0"} 2 | -------------------------------------------------------------------------------- /latest-1/musl/Dockerfile: -------------------------------------------------------------------------------- 1 | # this isn't used for the official published images anymore, but is included for backwards compatibility 2 | # see https://github.com/docker-library/bashbrew/issues/51 3 | FROM scratch 4 | ADD busybox.tar.gz / 5 | CMD ["sh"] 6 | -------------------------------------------------------------------------------- /latest-1/musl/Dockerfile.builder: -------------------------------------------------------------------------------- 1 | # 2 | # NOTE: THIS DOCKERFILE IS GENERATED VIA "apply-templates.sh" 3 | # 4 | # PLEASE DO NOT EDIT IT DIRECTLY. 5 | # 6 | 7 | FROM alpine:3.22 8 | 9 | RUN set -eux; \ 10 | apk add --no-cache \ 11 | bzip2 \ 12 | coreutils \ 13 | curl \ 14 | gcc \ 15 | gnupg \ 16 | linux-headers \ 17 | make \ 18 | musl-dev \ 19 | patch \ 20 | tzdata \ 21 | # busybox's tar ironically does not maintain mtime of directories correctly (which we need for SOURCE_DATE_EPOCH / reproducibility) 22 | tar \ 23 | ; 24 | 25 | # pub 1024D/ACC9965B 2006-12-12 26 | # Key fingerprint = C9E9 416F 76E6 10DB D09D 040F 47B7 0C55 ACC9 965B 27 | # uid Denis Vlasenko 28 | # sub 1024g/2C766641 2006-12-12 29 | RUN mkdir -p ~/.gnupg && gpg --batch --keyserver keyserver.ubuntu.com --recv-keys C9E9416F76E610DBD09D040F47B70C55ACC9965B 30 | 31 | # https://busybox.net: 19 May 2023 32 | ENV BUSYBOX_VERSION 1.36.1 33 | ENV BUSYBOX_SHA256 b8cc24c9574d809e7279c3be349795c5d5ceb6fdf19ca709f80cde50e47de314 34 | 35 | RUN set -eux; \ 36 | tarball="busybox-${BUSYBOX_VERSION}.tar.bz2"; \ 37 | curl -fL -o busybox.tar.bz2.sig "https://busybox.net/downloads/$tarball.sig"; \ 38 | curl -fL -o busybox.tar.bz2 "https://busybox.net/downloads/$tarball"; \ 39 | echo "$BUSYBOX_SHA256 *busybox.tar.bz2" | sha256sum -c -; \ 40 | gpg --batch --verify busybox.tar.bz2.sig busybox.tar.bz2; \ 41 | # Alpine... 😅 42 | mkdir -p /usr/src; \ 43 | tar -xf busybox.tar.bz2 -C /usr/src "busybox-$BUSYBOX_VERSION"; \ 44 | mv "/usr/src/busybox-$BUSYBOX_VERSION" /usr/src/busybox; \ 45 | rm busybox.tar.bz2*; \ 46 | \ 47 | # save the tarball's filesystem timestamp persistently (in case building busybox modifies it) so we can use it for reproducible rootfs later 48 | SOURCE_DATE_EPOCH="$(stat -c '%Y' /usr/src/busybox | tee /usr/src/busybox.SOURCE_DATE_EPOCH)"; \ 49 | date="$(date -d "@$SOURCE_DATE_EPOCH" '+%Y%m%d%H%M.%S')"; \ 50 | touch -t "$date" /usr/src/busybox.SOURCE_DATE_EPOCH; \ 51 | # for logging validation/edification 52 | date --date "@$SOURCE_DATE_EPOCH" --rfc-2822 53 | 54 | WORKDIR /usr/src/busybox 55 | 56 | # apply necessary/minimal patches (see /.patches/ in the top level of the repository) 57 | COPY \ 58 | /.patches/no-cbq.patch \ 59 | ./.patches/ 60 | RUN set -eux; \ 61 | for patch in .patches/*.patch; do \ 62 | patch -p1 --input="$patch"; \ 63 | done; \ 64 | rm -rf .patches 65 | 66 | RUN set -eux; \ 67 | \ 68 | # build date/time gets embedded in the BusyBox binary -- SOURCE_DATE_EPOCH should override that 69 | SOURCE_DATE_EPOCH="$(cat /usr/src/busybox.SOURCE_DATE_EPOCH)"; \ 70 | export SOURCE_DATE_EPOCH; \ 71 | # (has to be set in the config stage for making sure "AUTOCONF_TIMESTAMP" is embedded correctly) 72 | \ 73 | setConfs=' \ 74 | CONFIG_AR=y \ 75 | CONFIG_FEATURE_AR_CREATE=y \ 76 | CONFIG_FEATURE_AR_LONG_FILENAMES=y \ 77 | # CONFIG_LAST_SUPPORTED_WCHAR: see https://github.com/docker-library/busybox/issues/13 (UTF-8 input) 78 | CONFIG_LAST_SUPPORTED_WCHAR=0 \ 79 | CONFIG_STATIC=y \ 80 | '; \ 81 | \ 82 | unsetConfs=' \ 83 | CONFIG_FEATURE_SYNC_FANCY \ 84 | \ 85 | # see https://wiki.musl-libc.org/wiki/Building_Busybox 86 | CONFIG_FEATURE_HAVE_RPC \ 87 | CONFIG_FEATURE_INETD_RPC \ 88 | CONFIG_FEATURE_UTMP \ 89 | CONFIG_FEATURE_WTMP \ 90 | '; \ 91 | \ 92 | make defconfig; \ 93 | \ 94 | for conf in $unsetConfs; do \ 95 | sed -i \ 96 | -e "s!^$conf=.*\$!# $conf is not set!" \ 97 | .config; \ 98 | done; \ 99 | \ 100 | for confV in $setConfs; do \ 101 | conf="${confV%=*}"; \ 102 | sed -i \ 103 | -e "s!^$conf=.*\$!$confV!" \ 104 | -e "s!^# $conf is not set\$!$confV!" \ 105 | .config; \ 106 | if ! grep -q "^$confV\$" .config; then \ 107 | echo "$confV" >> .config; \ 108 | fi; \ 109 | done; \ 110 | \ 111 | make oldconfig; \ 112 | \ 113 | # trust, but verify 114 | for conf in $unsetConfs; do \ 115 | ! grep -q "^$conf=" .config; \ 116 | done; \ 117 | for confV in $setConfs; do \ 118 | grep -q "^$confV\$" .config; \ 119 | done 120 | 121 | RUN set -eux; \ 122 | nproc="$(nproc)"; \ 123 | # https://git.busybox.net/busybox/tree/Makefile?h=1_37_stable#n145 124 | # we need to override SUBARCH explicitly (via ARCH) to avoid "uname -m" which gives the wrong answer for builds like i386 on an amd64 machine because kernel architecture != userspace architecture 125 | # see https://git.busybox.net/busybox/tree/arch?h=1_37_stable#n145 for the only important values this *has* to match (everything else is best-effort, and needs to match the munging in https://git.busybox.net/busybox/tree/Makefile?h=1_37_stable#n185) 126 | distroArch="$(apk --print-arch)"; \ 127 | case "$distroArch" in \ 128 | amd64 | x86_64) ARCH='x86_64' ;; \ 129 | arm64 | aarch64) ARCH='aarch64' ;; \ 130 | armhf | armel | armv*) ARCH='arm' ;; \ 131 | i386 | x86) ARCH='i386' ;; \ 132 | mips*) ARCH='mips' ;; \ 133 | ppc*) ARCH='powerpc' ;; \ 134 | riscv64) ARCH='riscv64' ;; \ 135 | s390x) ARCH='s390' ;; \ 136 | *) echo >&2 "error: unknown architecture: '$distroArch'"; exit 1 ;; \ 137 | esac; \ 138 | [ -n "$ARCH" ]; \ 139 | export ARCH; \ 140 | make -j "$nproc" busybox; \ 141 | ./busybox --help; \ 142 | mkdir -p rootfs/bin; \ 143 | ln -vL busybox rootfs/bin/; \ 144 | \ 145 | # copy simplified getconf port from Alpine 146 | # https://github.com/alpinelinux/aports/commits/HEAD/main/musl/getconf.c 147 | curl -fsSL \ 148 | "https://github.com/alpinelinux/aports/raw/48b16204aeeda5bc1f87e49c6b8e23d9abb07c73/main/musl/getconf.c" \ 149 | -o /usr/src/getconf.c \ 150 | ; \ 151 | echo 'd87d0cbb3690ae2c5d8cc218349fd8278b93855dd625deaf7ae50e320aad247c */usr/src/getconf.c' | sha256sum -c -; \ 152 | gcc -o rootfs/bin/getconf -static -Os /usr/src/getconf.c; \ 153 | chroot rootfs /bin/getconf _NPROCESSORS_ONLN; \ 154 | \ 155 | # TODO make this create symlinks instead so the output tarball is cleaner (but "-s" outputs absolute symlinks which is kind of annoying to deal with -- we should also consider letting busybox determine the "install paths"; see "busybox --list-full") 156 | chroot rootfs /bin/busybox --install /bin 157 | 158 | # install a few extra files from buildroot (/etc/passwd, etc) 159 | RUN set -eux; \ 160 | buildrootVersion='2025.02.3'; \ 161 | for file in \ 162 | system/device_table.txt \ 163 | system/skeleton/etc/group \ 164 | system/skeleton/etc/passwd \ 165 | system/skeleton/etc/shadow \ 166 | ; do \ 167 | dir="$(dirname "$file")"; \ 168 | mkdir -p "../buildroot/$dir"; \ 169 | curl -fL -o "../buildroot/$file" "https://gitlab.com/buildroot.org/buildroot/-/raw/$buildrootVersion/$file"; \ 170 | [ -s "../buildroot/$file" ]; \ 171 | done; \ 172 | \ 173 | mkdir -p rootfs/etc; \ 174 | ln -vL \ 175 | ../buildroot/system/skeleton/etc/group \ 176 | ../buildroot/system/skeleton/etc/passwd \ 177 | ../buildroot/system/skeleton/etc/shadow \ 178 | rootfs/etc/ \ 179 | ; \ 180 | # CVE-2019-5021, https://github.com/docker-library/official-images/pull/5880#issuecomment-490681907 181 | grep -E '^root::' rootfs/etc/shadow; \ 182 | sed -ri -e 's/^root::/root:*:/' rootfs/etc/shadow; \ 183 | grep -E '^root:[*]:' rootfs/etc/shadow; \ 184 | # set expected permissions, etc too (https://gitlab.com/buildroot.org/buildroot/-/blob/HEAD/system/device_table.txt) 185 | awk ' \ 186 | !/^#/ { \ 187 | if ($2 != "d" && $2 != "f") { \ 188 | printf "error: unknown type \"%s\" encountered in line %d: %s\n", $2, NR, $0 > "/dev/stderr"; \ 189 | exit 1; \ 190 | } \ 191 | sub(/^\/?/, "rootfs/", $1); \ 192 | if ($2 == "d") { \ 193 | printf "mkdir -p %s\n", $1; \ 194 | } \ 195 | printf "chmod %s %s\n", $3, $1; \ 196 | } \ 197 | ' ../buildroot/system/device_table.txt | sh -eux 198 | 199 | # create missing home directories and ensure /usr/bin/env exists 200 | RUN set -eux; \ 201 | cd rootfs; \ 202 | for userHome in $(awk -F ':' '{ print $3 ":" $4 "=" $6 }' etc/passwd); do \ 203 | user="${userHome%%=*}"; \ 204 | home="${userHome#*=}"; \ 205 | home="./${home#/}"; \ 206 | if [ ! -d "$home" ]; then \ 207 | mkdir -p "$home"; \ 208 | chown "$user" "$home"; \ 209 | chmod 755 "$home"; \ 210 | fi; \ 211 | done; \ 212 | if [ ! -s usr/bin/env ] && [ -s bin/env ]; then \ 213 | mkdir -p usr/bin; \ 214 | ln -s ../../bin/env usr/bin/; \ 215 | fi 216 | 217 | # test and make sure it works 218 | RUN chroot rootfs /usr/bin/env sh -xec 'true' 219 | 220 | # ensure correct timezone (UTC) 221 | RUN set -eux; \ 222 | ln -vL /usr/share/zoneinfo/UTC rootfs/etc/localtime; \ 223 | [ "$(chroot rootfs date +%Z)" = 'UTC' ] 224 | 225 | # test and make sure DNS works too 226 | RUN set -eux; \ 227 | cp -L /etc/resolv.conf rootfs/etc/; \ 228 | chroot rootfs /bin/sh -xec 'nslookup google.com'; \ 229 | rm rootfs/etc/resolv.conf 230 | 231 | # vim:set ft=dockerfile: 232 | -------------------------------------------------------------------------------- /latest-1/musl/amd64/blobs/sha256/94dbb33ae944d61428b376116164810d21d4de1c727fc64df9863b02769b6767: -------------------------------------------------------------------------------- 1 | ../../rootfs.tar.gz -------------------------------------------------------------------------------- /latest-1/musl/amd64/blobs/sha256/ad0ffa21ad3a8d041da03443bbf9261c1884a708bc513577b9f1952c6e91cc2e: -------------------------------------------------------------------------------- 1 | ../../image-config.json -------------------------------------------------------------------------------- /latest-1/musl/amd64/blobs/sha256/e56bc0f7fc7d4452b17eb4ac0a9261ff4c9a469afa45d2b673e03650716d095d: -------------------------------------------------------------------------------- 1 | ../../image-manifest.json -------------------------------------------------------------------------------- /latest-1/musl/amd64/image-config.json: -------------------------------------------------------------------------------- 1 | { 2 | "config": { 3 | "Cmd": [ 4 | "sh" 5 | ], 6 | "Env": [ 7 | "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" 8 | ] 9 | }, 10 | "created": "2023-05-18T22:34:17Z", 11 | "history": [ 12 | { 13 | "created": "2023-05-18T22:34:17Z", 14 | "created_by": "BusyBox 1.36.1 (musl), Alpine 3.22.0" 15 | } 16 | ], 17 | "rootfs": { 18 | "type": "layers", 19 | "diff_ids": [ 20 | "sha256:707f0063149f041d12a06e9065d9710bea62a719d51c959a7ec00954c0fa5362" 21 | ] 22 | }, 23 | "architecture": "amd64", 24 | "os": "linux" 25 | } 26 | -------------------------------------------------------------------------------- /latest-1/musl/amd64/image-manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "schemaVersion": 2, 3 | "mediaType": "application/vnd.oci.image.manifest.v1+json", 4 | "config": { 5 | "mediaType": "application/vnd.oci.image.config.v1+json", 6 | "digest": "sha256:ad0ffa21ad3a8d041da03443bbf9261c1884a708bc513577b9f1952c6e91cc2e", 7 | "size": 462 8 | }, 9 | "layers": [ 10 | { 11 | "mediaType": "application/vnd.oci.image.layer.v1.tar+gzip", 12 | "digest": "sha256:94dbb33ae944d61428b376116164810d21d4de1c727fc64df9863b02769b6767", 13 | "size": 857729 14 | } 15 | ], 16 | "annotations": { 17 | "org.opencontainers.image.url": "https://github.com/docker-library/busybox", 18 | "org.opencontainers.image.version": "1.36.1-musl" 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /latest-1/musl/amd64/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "schemaVersion": 2, 3 | "mediaType": "application/vnd.oci.image.index.v1+json", 4 | "manifests": [ 5 | { 6 | "mediaType": "application/vnd.oci.image.manifest.v1+json", 7 | "digest": "sha256:e56bc0f7fc7d4452b17eb4ac0a9261ff4c9a469afa45d2b673e03650716d095d", 8 | "size": 608, 9 | "platform": { 10 | "architecture": "amd64", 11 | "os": "linux" 12 | }, 13 | "annotations": { 14 | "org.opencontainers.image.ref.name": "busybox:1.36.1-musl", 15 | "io.containerd.image.name": "busybox:1.36.1-musl" 16 | } 17 | } 18 | ] 19 | } 20 | -------------------------------------------------------------------------------- /latest-1/musl/amd64/oci-layout: -------------------------------------------------------------------------------- 1 | {"imageLayoutVersion":"1.0.0"} 2 | -------------------------------------------------------------------------------- /latest-1/musl/arm32v6/blobs/sha256/ba57765da0aa18c230bcd938c8ec20dfc2290a5f655011358604278145d228de: -------------------------------------------------------------------------------- 1 | ../../image-config.json -------------------------------------------------------------------------------- /latest-1/musl/arm32v6/blobs/sha256/cae274c705922a183e1d87861c31cfd7bccb486bef348a2e57c32d0729b16d61: -------------------------------------------------------------------------------- 1 | ../../image-manifest.json -------------------------------------------------------------------------------- /latest-1/musl/arm32v6/blobs/sha256/fe372f33b58b4fb837e53a4fae277fe5709a4446d362ac16efa99a97b4fc98c6: -------------------------------------------------------------------------------- 1 | ../../rootfs.tar.gz -------------------------------------------------------------------------------- /latest-1/musl/arm32v6/image-config.json: -------------------------------------------------------------------------------- 1 | { 2 | "config": { 3 | "Cmd": [ 4 | "sh" 5 | ], 6 | "Env": [ 7 | "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" 8 | ] 9 | }, 10 | "created": "2023-05-18T22:34:17Z", 11 | "history": [ 12 | { 13 | "created": "2023-05-18T22:34:17Z", 14 | "created_by": "BusyBox 1.36.1 (musl), Alpine 3.22.0" 15 | } 16 | ], 17 | "rootfs": { 18 | "type": "layers", 19 | "diff_ids": [ 20 | "sha256:9ce83b65be28d24022a124ef4fb3f6177ec1601c129cfe774e623f26e3deb07f" 21 | ] 22 | }, 23 | "architecture": "arm", 24 | "os": "linux", 25 | "variant": "v6" 26 | } 27 | -------------------------------------------------------------------------------- /latest-1/musl/arm32v6/image-manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "schemaVersion": 2, 3 | "mediaType": "application/vnd.oci.image.manifest.v1+json", 4 | "config": { 5 | "mediaType": "application/vnd.oci.image.config.v1+json", 6 | "digest": "sha256:ba57765da0aa18c230bcd938c8ec20dfc2290a5f655011358604278145d228de", 7 | "size": 478 8 | }, 9 | "layers": [ 10 | { 11 | "mediaType": "application/vnd.oci.image.layer.v1.tar+gzip", 12 | "digest": "sha256:fe372f33b58b4fb837e53a4fae277fe5709a4446d362ac16efa99a97b4fc98c6", 13 | "size": 947944 14 | } 15 | ], 16 | "annotations": { 17 | "org.opencontainers.image.url": "https://github.com/docker-library/busybox", 18 | "org.opencontainers.image.version": "1.36.1-musl" 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /latest-1/musl/arm32v6/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "schemaVersion": 2, 3 | "mediaType": "application/vnd.oci.image.index.v1+json", 4 | "manifests": [ 5 | { 6 | "mediaType": "application/vnd.oci.image.manifest.v1+json", 7 | "digest": "sha256:cae274c705922a183e1d87861c31cfd7bccb486bef348a2e57c32d0729b16d61", 8 | "size": 608, 9 | "platform": { 10 | "architecture": "arm", 11 | "os": "linux", 12 | "variant": "v6" 13 | }, 14 | "annotations": { 15 | "org.opencontainers.image.ref.name": "busybox:1.36.1-musl", 16 | "io.containerd.image.name": "busybox:1.36.1-musl" 17 | } 18 | } 19 | ] 20 | } 21 | -------------------------------------------------------------------------------- /latest-1/musl/arm32v6/oci-layout: -------------------------------------------------------------------------------- 1 | {"imageLayoutVersion":"1.0.0"} 2 | -------------------------------------------------------------------------------- /latest-1/musl/arm32v7/blobs/sha256/1e1963392a21b986d46841e867ea43dd277ee33579bd8f8771556cb13ef2af19: -------------------------------------------------------------------------------- 1 | ../../rootfs.tar.gz -------------------------------------------------------------------------------- /latest-1/musl/arm32v7/blobs/sha256/538371d7a87caac543208d559c936179ebc5e3c65abb2488558e9b6230f97525: -------------------------------------------------------------------------------- 1 | ../../image-config.json -------------------------------------------------------------------------------- /latest-1/musl/arm32v7/blobs/sha256/d9a9cfbe637ba489e00f5cbafff45c372b137c5bf84d9908ca89fb2a9b97aacb: -------------------------------------------------------------------------------- 1 | ../../image-manifest.json -------------------------------------------------------------------------------- /latest-1/musl/arm32v7/image-config.json: -------------------------------------------------------------------------------- 1 | { 2 | "config": { 3 | "Cmd": [ 4 | "sh" 5 | ], 6 | "Env": [ 7 | "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" 8 | ] 9 | }, 10 | "created": "2023-05-18T22:34:17Z", 11 | "history": [ 12 | { 13 | "created": "2023-05-18T22:34:17Z", 14 | "created_by": "BusyBox 1.36.1 (musl), Alpine 3.22.0" 15 | } 16 | ], 17 | "rootfs": { 18 | "type": "layers", 19 | "diff_ids": [ 20 | "sha256:972216a5a8af9e23a96276462b428b7ce71fedfb37dd3e732959b26dfb7b7cfb" 21 | ] 22 | }, 23 | "architecture": "arm", 24 | "os": "linux", 25 | "variant": "v7" 26 | } 27 | -------------------------------------------------------------------------------- /latest-1/musl/arm32v7/image-manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "schemaVersion": 2, 3 | "mediaType": "application/vnd.oci.image.manifest.v1+json", 4 | "config": { 5 | "mediaType": "application/vnd.oci.image.config.v1+json", 6 | "digest": "sha256:538371d7a87caac543208d559c936179ebc5e3c65abb2488558e9b6230f97525", 7 | "size": 478 8 | }, 9 | "layers": [ 10 | { 11 | "mediaType": "application/vnd.oci.image.layer.v1.tar+gzip", 12 | "digest": "sha256:1e1963392a21b986d46841e867ea43dd277ee33579bd8f8771556cb13ef2af19", 13 | "size": 844549 14 | } 15 | ], 16 | "annotations": { 17 | "org.opencontainers.image.url": "https://github.com/docker-library/busybox", 18 | "org.opencontainers.image.version": "1.36.1-musl" 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /latest-1/musl/arm32v7/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "schemaVersion": 2, 3 | "mediaType": "application/vnd.oci.image.index.v1+json", 4 | "manifests": [ 5 | { 6 | "mediaType": "application/vnd.oci.image.manifest.v1+json", 7 | "digest": "sha256:d9a9cfbe637ba489e00f5cbafff45c372b137c5bf84d9908ca89fb2a9b97aacb", 8 | "size": 608, 9 | "platform": { 10 | "architecture": "arm", 11 | "os": "linux", 12 | "variant": "v7" 13 | }, 14 | "annotations": { 15 | "org.opencontainers.image.ref.name": "busybox:1.36.1-musl", 16 | "io.containerd.image.name": "busybox:1.36.1-musl" 17 | } 18 | } 19 | ] 20 | } 21 | -------------------------------------------------------------------------------- /latest-1/musl/arm32v7/oci-layout: -------------------------------------------------------------------------------- 1 | {"imageLayoutVersion":"1.0.0"} 2 | -------------------------------------------------------------------------------- /latest-1/musl/arm64v8/blobs/sha256/45a206fe02fc453d6c7372488bc757f30c9b30184201948c24c10d6fcb2c256b: -------------------------------------------------------------------------------- 1 | ../../image-config.json -------------------------------------------------------------------------------- /latest-1/musl/arm64v8/blobs/sha256/786ffaea49b67abe30db0f118d90387ca08fcee4428dadc4270ed96462e1050a: -------------------------------------------------------------------------------- 1 | ../../rootfs.tar.gz -------------------------------------------------------------------------------- /latest-1/musl/arm64v8/blobs/sha256/a19d3001b21e7a2bb77ccc6497f88be8e26bf1037cad075997d587605ab9345f: -------------------------------------------------------------------------------- 1 | ../../image-manifest.json -------------------------------------------------------------------------------- /latest-1/musl/arm64v8/image-config.json: -------------------------------------------------------------------------------- 1 | { 2 | "config": { 3 | "Cmd": [ 4 | "sh" 5 | ], 6 | "Env": [ 7 | "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" 8 | ] 9 | }, 10 | "created": "2023-05-18T22:34:17Z", 11 | "history": [ 12 | { 13 | "created": "2023-05-18T22:34:17Z", 14 | "created_by": "BusyBox 1.36.1 (musl), Alpine 3.22.0" 15 | } 16 | ], 17 | "rootfs": { 18 | "type": "layers", 19 | "diff_ids": [ 20 | "sha256:b558f2bee63758d8cc485050306b90250bf54cf83f13558394a0795bdf2f5d33" 21 | ] 22 | }, 23 | "architecture": "arm64", 24 | "os": "linux", 25 | "variant": "v8" 26 | } 27 | -------------------------------------------------------------------------------- /latest-1/musl/arm64v8/image-manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "schemaVersion": 2, 3 | "mediaType": "application/vnd.oci.image.manifest.v1+json", 4 | "config": { 5 | "mediaType": "application/vnd.oci.image.config.v1+json", 6 | "digest": "sha256:45a206fe02fc453d6c7372488bc757f30c9b30184201948c24c10d6fcb2c256b", 7 | "size": 480 8 | }, 9 | "layers": [ 10 | { 11 | "mediaType": "application/vnd.oci.image.layer.v1.tar+gzip", 12 | "digest": "sha256:786ffaea49b67abe30db0f118d90387ca08fcee4428dadc4270ed96462e1050a", 13 | "size": 890148 14 | } 15 | ], 16 | "annotations": { 17 | "org.opencontainers.image.url": "https://github.com/docker-library/busybox", 18 | "org.opencontainers.image.version": "1.36.1-musl" 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /latest-1/musl/arm64v8/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "schemaVersion": 2, 3 | "mediaType": "application/vnd.oci.image.index.v1+json", 4 | "manifests": [ 5 | { 6 | "mediaType": "application/vnd.oci.image.manifest.v1+json", 7 | "digest": "sha256:a19d3001b21e7a2bb77ccc6497f88be8e26bf1037cad075997d587605ab9345f", 8 | "size": 608, 9 | "platform": { 10 | "architecture": "arm64", 11 | "os": "linux", 12 | "variant": "v8" 13 | }, 14 | "annotations": { 15 | "org.opencontainers.image.ref.name": "busybox:1.36.1-musl", 16 | "io.containerd.image.name": "busybox:1.36.1-musl" 17 | } 18 | } 19 | ] 20 | } 21 | -------------------------------------------------------------------------------- /latest-1/musl/arm64v8/oci-layout: -------------------------------------------------------------------------------- 1 | {"imageLayoutVersion":"1.0.0"} 2 | -------------------------------------------------------------------------------- /latest-1/musl/i386/blobs/sha256/56a2e71a670c98f13db64fb99bc2a4745c8432dea29663cf29ed394233616487: -------------------------------------------------------------------------------- 1 | ../../image-config.json -------------------------------------------------------------------------------- /latest-1/musl/i386/blobs/sha256/c9da41e1b85620c2c8f5ab0cf1edc18439443f2db6693ee3cf48eddc0c7eb7ed: -------------------------------------------------------------------------------- 1 | ../../image-manifest.json -------------------------------------------------------------------------------- /latest-1/musl/i386/blobs/sha256/d7942b4a7cbce40b84b4068d6b5d08435fec6d6231f6dc98f991e4306083fc82: -------------------------------------------------------------------------------- 1 | ../../rootfs.tar.gz -------------------------------------------------------------------------------- /latest-1/musl/i386/image-config.json: -------------------------------------------------------------------------------- 1 | { 2 | "config": { 3 | "Cmd": [ 4 | "sh" 5 | ], 6 | "Env": [ 7 | "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" 8 | ] 9 | }, 10 | "created": "2023-05-18T22:34:17Z", 11 | "history": [ 12 | { 13 | "created": "2023-05-18T22:34:17Z", 14 | "created_by": "BusyBox 1.36.1 (musl), Alpine 3.22.0" 15 | } 16 | ], 17 | "rootfs": { 18 | "type": "layers", 19 | "diff_ids": [ 20 | "sha256:87f2d605165382432aba741e561b10d9f8b621fe3064b72c2d15802c0bb6aeb2" 21 | ] 22 | }, 23 | "architecture": "386", 24 | "os": "linux" 25 | } 26 | -------------------------------------------------------------------------------- /latest-1/musl/i386/image-manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "schemaVersion": 2, 3 | "mediaType": "application/vnd.oci.image.manifest.v1+json", 4 | "config": { 5 | "mediaType": "application/vnd.oci.image.config.v1+json", 6 | "digest": "sha256:56a2e71a670c98f13db64fb99bc2a4745c8432dea29663cf29ed394233616487", 7 | "size": 460 8 | }, 9 | "layers": [ 10 | { 11 | "mediaType": "application/vnd.oci.image.layer.v1.tar+gzip", 12 | "digest": "sha256:d7942b4a7cbce40b84b4068d6b5d08435fec6d6231f6dc98f991e4306083fc82", 13 | "size": 854177 14 | } 15 | ], 16 | "annotations": { 17 | "org.opencontainers.image.url": "https://github.com/docker-library/busybox", 18 | "org.opencontainers.image.version": "1.36.1-musl" 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /latest-1/musl/i386/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "schemaVersion": 2, 3 | "mediaType": "application/vnd.oci.image.index.v1+json", 4 | "manifests": [ 5 | { 6 | "mediaType": "application/vnd.oci.image.manifest.v1+json", 7 | "digest": "sha256:c9da41e1b85620c2c8f5ab0cf1edc18439443f2db6693ee3cf48eddc0c7eb7ed", 8 | "size": 608, 9 | "platform": { 10 | "architecture": "386", 11 | "os": "linux" 12 | }, 13 | "annotations": { 14 | "org.opencontainers.image.ref.name": "busybox:1.36.1-musl", 15 | "io.containerd.image.name": "busybox:1.36.1-musl" 16 | } 17 | } 18 | ] 19 | } 20 | -------------------------------------------------------------------------------- /latest-1/musl/i386/oci-layout: -------------------------------------------------------------------------------- 1 | {"imageLayoutVersion":"1.0.0"} 2 | -------------------------------------------------------------------------------- /latest-1/musl/ppc64le/blobs/sha256/2281654986cacb1f221e78ca81352600a13089aa85bcc089af145c440935ac9c: -------------------------------------------------------------------------------- 1 | ../../image-config.json -------------------------------------------------------------------------------- /latest-1/musl/ppc64le/blobs/sha256/b46932825cac266f49fdc115fd0b00f823e0afa3f428e0d4861d8bb499cdb6fc: -------------------------------------------------------------------------------- 1 | ../../rootfs.tar.gz -------------------------------------------------------------------------------- /latest-1/musl/ppc64le/blobs/sha256/bfc31b8b64e34878d6bb6b2840e123fdb58de76fe492ae13ca45a431da05373f: -------------------------------------------------------------------------------- 1 | ../../image-manifest.json -------------------------------------------------------------------------------- /latest-1/musl/ppc64le/image-config.json: -------------------------------------------------------------------------------- 1 | { 2 | "config": { 3 | "Cmd": [ 4 | "sh" 5 | ], 6 | "Env": [ 7 | "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" 8 | ] 9 | }, 10 | "created": "2023-05-18T22:34:17Z", 11 | "history": [ 12 | { 13 | "created": "2023-05-18T22:34:17Z", 14 | "created_by": "BusyBox 1.36.1 (musl), Alpine 3.22.0" 15 | } 16 | ], 17 | "rootfs": { 18 | "type": "layers", 19 | "diff_ids": [ 20 | "sha256:2035616378e9ed7eb2a694d82db91946d1298f3aff2c638ae824499099ba672a" 21 | ] 22 | }, 23 | "architecture": "ppc64le", 24 | "os": "linux" 25 | } 26 | -------------------------------------------------------------------------------- /latest-1/musl/ppc64le/image-manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "schemaVersion": 2, 3 | "mediaType": "application/vnd.oci.image.manifest.v1+json", 4 | "config": { 5 | "mediaType": "application/vnd.oci.image.config.v1+json", 6 | "digest": "sha256:2281654986cacb1f221e78ca81352600a13089aa85bcc089af145c440935ac9c", 7 | "size": 464 8 | }, 9 | "layers": [ 10 | { 11 | "mediaType": "application/vnd.oci.image.layer.v1.tar+gzip", 12 | "digest": "sha256:b46932825cac266f49fdc115fd0b00f823e0afa3f428e0d4861d8bb499cdb6fc", 13 | "size": 940698 14 | } 15 | ], 16 | "annotations": { 17 | "org.opencontainers.image.url": "https://github.com/docker-library/busybox", 18 | "org.opencontainers.image.version": "1.36.1-musl" 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /latest-1/musl/ppc64le/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "schemaVersion": 2, 3 | "mediaType": "application/vnd.oci.image.index.v1+json", 4 | "manifests": [ 5 | { 6 | "mediaType": "application/vnd.oci.image.manifest.v1+json", 7 | "digest": "sha256:bfc31b8b64e34878d6bb6b2840e123fdb58de76fe492ae13ca45a431da05373f", 8 | "size": 608, 9 | "platform": { 10 | "architecture": "ppc64le", 11 | "os": "linux" 12 | }, 13 | "annotations": { 14 | "org.opencontainers.image.ref.name": "busybox:1.36.1-musl", 15 | "io.containerd.image.name": "busybox:1.36.1-musl" 16 | } 17 | } 18 | ] 19 | } 20 | -------------------------------------------------------------------------------- /latest-1/musl/ppc64le/oci-layout: -------------------------------------------------------------------------------- 1 | {"imageLayoutVersion":"1.0.0"} 2 | -------------------------------------------------------------------------------- /latest-1/musl/s390x/blobs/sha256/80c58d45630198b01c72a5254db249a3aedd08840a320b149103e85219752603: -------------------------------------------------------------------------------- 1 | ../../rootfs.tar.gz -------------------------------------------------------------------------------- /latest-1/musl/s390x/blobs/sha256/c467fca0b7776e65a0862745866d9059e3e2c1941087534ee4236c471d9df149: -------------------------------------------------------------------------------- 1 | ../../image-manifest.json -------------------------------------------------------------------------------- /latest-1/musl/s390x/blobs/sha256/f8d03680181f7d08daf97c00d785bbf2fdb1a9f071bdb6cdcaf8c7ba79dfbc43: -------------------------------------------------------------------------------- 1 | ../../image-config.json -------------------------------------------------------------------------------- /latest-1/musl/s390x/image-config.json: -------------------------------------------------------------------------------- 1 | { 2 | "config": { 3 | "Cmd": [ 4 | "sh" 5 | ], 6 | "Env": [ 7 | "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" 8 | ] 9 | }, 10 | "created": "2023-05-18T22:34:17Z", 11 | "history": [ 12 | { 13 | "created": "2023-05-18T22:34:17Z", 14 | "created_by": "BusyBox 1.36.1 (musl), Alpine 3.22.0" 15 | } 16 | ], 17 | "rootfs": { 18 | "type": "layers", 19 | "diff_ids": [ 20 | "sha256:acb31009dbeb20fde916199e240498d94c4c1986b85a3a8d34d96aaa56c52585" 21 | ] 22 | }, 23 | "architecture": "s390x", 24 | "os": "linux" 25 | } 26 | -------------------------------------------------------------------------------- /latest-1/musl/s390x/image-manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "schemaVersion": 2, 3 | "mediaType": "application/vnd.oci.image.manifest.v1+json", 4 | "config": { 5 | "mediaType": "application/vnd.oci.image.config.v1+json", 6 | "digest": "sha256:f8d03680181f7d08daf97c00d785bbf2fdb1a9f071bdb6cdcaf8c7ba79dfbc43", 7 | "size": 462 8 | }, 9 | "layers": [ 10 | { 11 | "mediaType": "application/vnd.oci.image.layer.v1.tar+gzip", 12 | "digest": "sha256:80c58d45630198b01c72a5254db249a3aedd08840a320b149103e85219752603", 13 | "size": 919039 14 | } 15 | ], 16 | "annotations": { 17 | "org.opencontainers.image.url": "https://github.com/docker-library/busybox", 18 | "org.opencontainers.image.version": "1.36.1-musl" 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /latest-1/musl/s390x/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "schemaVersion": 2, 3 | "mediaType": "application/vnd.oci.image.index.v1+json", 4 | "manifests": [ 5 | { 6 | "mediaType": "application/vnd.oci.image.manifest.v1+json", 7 | "digest": "sha256:c467fca0b7776e65a0862745866d9059e3e2c1941087534ee4236c471d9df149", 8 | "size": 608, 9 | "platform": { 10 | "architecture": "s390x", 11 | "os": "linux" 12 | }, 13 | "annotations": { 14 | "org.opencontainers.image.ref.name": "busybox:1.36.1-musl", 15 | "io.containerd.image.name": "busybox:1.36.1-musl" 16 | } 17 | } 18 | ] 19 | } 20 | -------------------------------------------------------------------------------- /latest-1/musl/s390x/oci-layout: -------------------------------------------------------------------------------- 1 | {"imageLayoutVersion":"1.0.0"} 2 | -------------------------------------------------------------------------------- /latest-1/uclibc/Dockerfile: -------------------------------------------------------------------------------- 1 | # this isn't used for the official published images anymore, but is included for backwards compatibility 2 | # see https://github.com/docker-library/bashbrew/issues/51 3 | FROM scratch 4 | ADD busybox.tar.gz / 5 | CMD ["sh"] 6 | -------------------------------------------------------------------------------- /latest-1/uclibc/amd64/blobs/sha256/2a0a101560d56ba1b61dd74c0a9da3e5df447173593e1f41d62414ee134eadbe: -------------------------------------------------------------------------------- 1 | ../../image-config.json -------------------------------------------------------------------------------- /latest-1/uclibc/amd64/blobs/sha256/2dca49b989c8d5f7711a0b67a55dfc4026e15a352bb69ea4d6916857fef06cd0: -------------------------------------------------------------------------------- 1 | ../../image-manifest.json -------------------------------------------------------------------------------- /latest-1/uclibc/amd64/blobs/sha256/b0bed0c144bffe1f7bd5a44c3a55b16e73681d2b0cf166568cf9ff21dbfb73ac: -------------------------------------------------------------------------------- 1 | ../../rootfs.tar.gz -------------------------------------------------------------------------------- /latest-1/uclibc/amd64/image-config.json: -------------------------------------------------------------------------------- 1 | { 2 | "config": { 3 | "Cmd": [ 4 | "sh" 5 | ], 6 | "Env": [ 7 | "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" 8 | ] 9 | }, 10 | "created": "2023-05-18T22:34:17Z", 11 | "history": [ 12 | { 13 | "created": "2023-05-18T22:34:17Z", 14 | "created_by": "BusyBox 1.36.1 (uclibc), Buildroot 2025.02.3, Debian 12" 15 | } 16 | ], 17 | "rootfs": { 18 | "type": "layers", 19 | "diff_ids": [ 20 | "sha256:3c8eaa50f76ac4f10b70f047c2054d55fa3e3bd6b904efe513efa1c151baa4a0" 21 | ] 22 | }, 23 | "architecture": "amd64", 24 | "os": "linux" 25 | } 26 | -------------------------------------------------------------------------------- /latest-1/uclibc/amd64/image-manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "schemaVersion": 2, 3 | "mediaType": "application/vnd.oci.image.manifest.v1+json", 4 | "config": { 5 | "mediaType": "application/vnd.oci.image.config.v1+json", 6 | "digest": "sha256:2a0a101560d56ba1b61dd74c0a9da3e5df447173593e1f41d62414ee134eadbe", 7 | "size": 481 8 | }, 9 | "layers": [ 10 | { 11 | "mediaType": "application/vnd.oci.image.layer.v1.tar+gzip", 12 | "digest": "sha256:b0bed0c144bffe1f7bd5a44c3a55b16e73681d2b0cf166568cf9ff21dbfb73ac", 13 | "size": 753198 14 | } 15 | ], 16 | "annotations": { 17 | "org.opencontainers.image.url": "https://github.com/docker-library/busybox", 18 | "org.opencontainers.image.version": "1.36.1-uclibc" 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /latest-1/uclibc/amd64/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "schemaVersion": 2, 3 | "mediaType": "application/vnd.oci.image.index.v1+json", 4 | "manifests": [ 5 | { 6 | "mediaType": "application/vnd.oci.image.manifest.v1+json", 7 | "digest": "sha256:2dca49b989c8d5f7711a0b67a55dfc4026e15a352bb69ea4d6916857fef06cd0", 8 | "size": 610, 9 | "platform": { 10 | "architecture": "amd64", 11 | "os": "linux" 12 | }, 13 | "annotations": { 14 | "org.opencontainers.image.ref.name": "busybox:1.36.1-uclibc", 15 | "io.containerd.image.name": "busybox:1.36.1-uclibc" 16 | } 17 | } 18 | ] 19 | } 20 | -------------------------------------------------------------------------------- /latest-1/uclibc/amd64/oci-layout: -------------------------------------------------------------------------------- 1 | {"imageLayoutVersion":"1.0.0"} 2 | -------------------------------------------------------------------------------- /latest-1/uclibc/arm32v5/blobs/sha256/83d462931144efa9579896152e86a996210cf6c1502d8fab53daa33608683b1c: -------------------------------------------------------------------------------- 1 | ../../image-config.json -------------------------------------------------------------------------------- /latest-1/uclibc/arm32v5/blobs/sha256/abdf3d20b325e688a0a8f359f2fd94e0af37c2256da3d40e8752f3c724676c91: -------------------------------------------------------------------------------- 1 | ../../image-manifest.json -------------------------------------------------------------------------------- /latest-1/uclibc/arm32v5/blobs/sha256/be695e11d3c55573ab962c40897d96ea73344080f590d0849b11063df25d05f6: -------------------------------------------------------------------------------- 1 | ../../rootfs.tar.gz -------------------------------------------------------------------------------- /latest-1/uclibc/arm32v5/image-config.json: -------------------------------------------------------------------------------- 1 | { 2 | "config": { 3 | "Cmd": [ 4 | "sh" 5 | ], 6 | "Env": [ 7 | "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" 8 | ] 9 | }, 10 | "created": "2023-05-18T22:34:17Z", 11 | "history": [ 12 | { 13 | "created": "2023-05-18T22:34:17Z", 14 | "created_by": "BusyBox 1.36.1 (uclibc), Buildroot 2025.02.3, Debian 12" 15 | } 16 | ], 17 | "rootfs": { 18 | "type": "layers", 19 | "diff_ids": [ 20 | "sha256:34c1202f95432c4429e0cd2afbbdc0b921b2dd831f3149df9c7fc830ef1946c4" 21 | ] 22 | }, 23 | "architecture": "arm", 24 | "os": "linux", 25 | "variant": "v5" 26 | } 27 | -------------------------------------------------------------------------------- /latest-1/uclibc/arm32v5/image-manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "schemaVersion": 2, 3 | "mediaType": "application/vnd.oci.image.manifest.v1+json", 4 | "config": { 5 | "mediaType": "application/vnd.oci.image.config.v1+json", 6 | "digest": "sha256:83d462931144efa9579896152e86a996210cf6c1502d8fab53daa33608683b1c", 7 | "size": 497 8 | }, 9 | "layers": [ 10 | { 11 | "mediaType": "application/vnd.oci.image.layer.v1.tar+gzip", 12 | "digest": "sha256:be695e11d3c55573ab962c40897d96ea73344080f590d0849b11063df25d05f6", 13 | "size": 743397 14 | } 15 | ], 16 | "annotations": { 17 | "org.opencontainers.image.url": "https://github.com/docker-library/busybox", 18 | "org.opencontainers.image.version": "1.36.1-uclibc" 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /latest-1/uclibc/arm32v5/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "schemaVersion": 2, 3 | "mediaType": "application/vnd.oci.image.index.v1+json", 4 | "manifests": [ 5 | { 6 | "mediaType": "application/vnd.oci.image.manifest.v1+json", 7 | "digest": "sha256:abdf3d20b325e688a0a8f359f2fd94e0af37c2256da3d40e8752f3c724676c91", 8 | "size": 610, 9 | "platform": { 10 | "architecture": "arm", 11 | "os": "linux", 12 | "variant": "v5" 13 | }, 14 | "annotations": { 15 | "org.opencontainers.image.ref.name": "busybox:1.36.1-uclibc", 16 | "io.containerd.image.name": "busybox:1.36.1-uclibc" 17 | } 18 | } 19 | ] 20 | } 21 | -------------------------------------------------------------------------------- /latest-1/uclibc/arm32v5/oci-layout: -------------------------------------------------------------------------------- 1 | {"imageLayoutVersion":"1.0.0"} 2 | -------------------------------------------------------------------------------- /latest-1/uclibc/arm32v7/blobs/sha256/03321c95e978502564808b3956c420c2dbd2e87906edfb0abd4baf5888eb5a83: -------------------------------------------------------------------------------- 1 | ../../rootfs.tar.gz -------------------------------------------------------------------------------- /latest-1/uclibc/arm32v7/blobs/sha256/143dec09ffcead32d0d3a7cc74052c0884e9420e3dab3233b5d232373c23b573: -------------------------------------------------------------------------------- 1 | ../../image-manifest.json -------------------------------------------------------------------------------- /latest-1/uclibc/arm32v7/blobs/sha256/ce99af6a9aeb5a15dad9db03aeeaddab81d3d182381796e8f249b67f48037cbe: -------------------------------------------------------------------------------- 1 | ../../image-config.json -------------------------------------------------------------------------------- /latest-1/uclibc/arm32v7/image-config.json: -------------------------------------------------------------------------------- 1 | { 2 | "config": { 3 | "Cmd": [ 4 | "sh" 5 | ], 6 | "Env": [ 7 | "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" 8 | ] 9 | }, 10 | "created": "2023-05-18T22:34:17Z", 11 | "history": [ 12 | { 13 | "created": "2023-05-18T22:34:17Z", 14 | "created_by": "BusyBox 1.36.1 (uclibc), Buildroot 2025.02.3, Debian 12" 15 | } 16 | ], 17 | "rootfs": { 18 | "type": "layers", 19 | "diff_ids": [ 20 | "sha256:549b74ea0085352e2466dfbac1a352a693a087162a6e808109d191c11c5e4ee5" 21 | ] 22 | }, 23 | "architecture": "arm", 24 | "os": "linux", 25 | "variant": "v7" 26 | } 27 | -------------------------------------------------------------------------------- /latest-1/uclibc/arm32v7/image-manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "schemaVersion": 2, 3 | "mediaType": "application/vnd.oci.image.manifest.v1+json", 4 | "config": { 5 | "mediaType": "application/vnd.oci.image.config.v1+json", 6 | "digest": "sha256:ce99af6a9aeb5a15dad9db03aeeaddab81d3d182381796e8f249b67f48037cbe", 7 | "size": 497 8 | }, 9 | "layers": [ 10 | { 11 | "mediaType": "application/vnd.oci.image.layer.v1.tar+gzip", 12 | "digest": "sha256:03321c95e978502564808b3956c420c2dbd2e87906edfb0abd4baf5888eb5a83", 13 | "size": 708674 14 | } 15 | ], 16 | "annotations": { 17 | "org.opencontainers.image.url": "https://github.com/docker-library/busybox", 18 | "org.opencontainers.image.version": "1.36.1-uclibc" 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /latest-1/uclibc/arm32v7/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "schemaVersion": 2, 3 | "mediaType": "application/vnd.oci.image.index.v1+json", 4 | "manifests": [ 5 | { 6 | "mediaType": "application/vnd.oci.image.manifest.v1+json", 7 | "digest": "sha256:143dec09ffcead32d0d3a7cc74052c0884e9420e3dab3233b5d232373c23b573", 8 | "size": 610, 9 | "platform": { 10 | "architecture": "arm", 11 | "os": "linux", 12 | "variant": "v7" 13 | }, 14 | "annotations": { 15 | "org.opencontainers.image.ref.name": "busybox:1.36.1-uclibc", 16 | "io.containerd.image.name": "busybox:1.36.1-uclibc" 17 | } 18 | } 19 | ] 20 | } 21 | -------------------------------------------------------------------------------- /latest-1/uclibc/arm32v7/oci-layout: -------------------------------------------------------------------------------- 1 | {"imageLayoutVersion":"1.0.0"} 2 | -------------------------------------------------------------------------------- /latest-1/uclibc/arm64v8/blobs/sha256/154a45e546f1158746c9790a22b045975088ce404d63021e396a58e4562ad0d0: -------------------------------------------------------------------------------- 1 | ../../image-manifest.json -------------------------------------------------------------------------------- /latest-1/uclibc/arm64v8/blobs/sha256/ddf90b3524a0ede067b36f43f1169b6a85cd22090f31716ec38820400d675508: -------------------------------------------------------------------------------- 1 | ../../image-config.json -------------------------------------------------------------------------------- /latest-1/uclibc/arm64v8/blobs/sha256/e997e9b9aabce1295385197ec63c52b266a09f0f9a8434bbdc481fcfccf600ca: -------------------------------------------------------------------------------- 1 | ../../rootfs.tar.gz -------------------------------------------------------------------------------- /latest-1/uclibc/arm64v8/image-config.json: -------------------------------------------------------------------------------- 1 | { 2 | "config": { 3 | "Cmd": [ 4 | "sh" 5 | ], 6 | "Env": [ 7 | "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" 8 | ] 9 | }, 10 | "created": "2023-05-18T22:34:17Z", 11 | "history": [ 12 | { 13 | "created": "2023-05-18T22:34:17Z", 14 | "created_by": "BusyBox 1.36.1 (uclibc), Buildroot 2025.02.3, Debian 12" 15 | } 16 | ], 17 | "rootfs": { 18 | "type": "layers", 19 | "diff_ids": [ 20 | "sha256:88d69a56720564cf727c8976a35700d41ef0791943a60cc8d65d7d8fbdcea1d2" 21 | ] 22 | }, 23 | "architecture": "arm64", 24 | "os": "linux", 25 | "variant": "v8" 26 | } 27 | -------------------------------------------------------------------------------- /latest-1/uclibc/arm64v8/image-manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "schemaVersion": 2, 3 | "mediaType": "application/vnd.oci.image.manifest.v1+json", 4 | "config": { 5 | "mediaType": "application/vnd.oci.image.config.v1+json", 6 | "digest": "sha256:ddf90b3524a0ede067b36f43f1169b6a85cd22090f31716ec38820400d675508", 7 | "size": 499 8 | }, 9 | "layers": [ 10 | { 11 | "mediaType": "application/vnd.oci.image.layer.v1.tar+gzip", 12 | "digest": "sha256:e997e9b9aabce1295385197ec63c52b266a09f0f9a8434bbdc481fcfccf600ca", 13 | "size": 808764 14 | } 15 | ], 16 | "annotations": { 17 | "org.opencontainers.image.url": "https://github.com/docker-library/busybox", 18 | "org.opencontainers.image.version": "1.36.1-uclibc" 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /latest-1/uclibc/arm64v8/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "schemaVersion": 2, 3 | "mediaType": "application/vnd.oci.image.index.v1+json", 4 | "manifests": [ 5 | { 6 | "mediaType": "application/vnd.oci.image.manifest.v1+json", 7 | "digest": "sha256:154a45e546f1158746c9790a22b045975088ce404d63021e396a58e4562ad0d0", 8 | "size": 610, 9 | "platform": { 10 | "architecture": "arm64", 11 | "os": "linux", 12 | "variant": "v8" 13 | }, 14 | "annotations": { 15 | "org.opencontainers.image.ref.name": "busybox:1.36.1-uclibc", 16 | "io.containerd.image.name": "busybox:1.36.1-uclibc" 17 | } 18 | } 19 | ] 20 | } 21 | -------------------------------------------------------------------------------- /latest-1/uclibc/arm64v8/oci-layout: -------------------------------------------------------------------------------- 1 | {"imageLayoutVersion":"1.0.0"} 2 | -------------------------------------------------------------------------------- /latest-1/uclibc/i386/blobs/sha256/8f8b18e7cb747d7415e677524951aa3ce36fa0671369f224a4be892a319704f0: -------------------------------------------------------------------------------- 1 | ../../image-manifest.json -------------------------------------------------------------------------------- /latest-1/uclibc/i386/blobs/sha256/927175febb1c60d2eb258611ca41d956a083380321fdbf6c60a7882b2de4054c: -------------------------------------------------------------------------------- 1 | ../../rootfs.tar.gz -------------------------------------------------------------------------------- /latest-1/uclibc/i386/blobs/sha256/ba89390c0a1457bbcd3e449812dfd3dd26d158914162073a3fcc7a124b0bdee1: -------------------------------------------------------------------------------- 1 | ../../image-config.json -------------------------------------------------------------------------------- /latest-1/uclibc/i386/image-config.json: -------------------------------------------------------------------------------- 1 | { 2 | "config": { 3 | "Cmd": [ 4 | "sh" 5 | ], 6 | "Env": [ 7 | "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" 8 | ] 9 | }, 10 | "created": "2023-05-18T22:34:17Z", 11 | "history": [ 12 | { 13 | "created": "2023-05-18T22:34:17Z", 14 | "created_by": "BusyBox 1.36.1 (uclibc), Buildroot 2025.02.3, Debian 12" 15 | } 16 | ], 17 | "rootfs": { 18 | "type": "layers", 19 | "diff_ids": [ 20 | "sha256:dff7722fd8253ff9b866ef31fd70c571e599553fcd6c675197bf6dd429d5fbc8" 21 | ] 22 | }, 23 | "architecture": "386", 24 | "os": "linux" 25 | } 26 | -------------------------------------------------------------------------------- /latest-1/uclibc/i386/image-manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "schemaVersion": 2, 3 | "mediaType": "application/vnd.oci.image.manifest.v1+json", 4 | "config": { 5 | "mediaType": "application/vnd.oci.image.config.v1+json", 6 | "digest": "sha256:ba89390c0a1457bbcd3e449812dfd3dd26d158914162073a3fcc7a124b0bdee1", 7 | "size": 479 8 | }, 9 | "layers": [ 10 | { 11 | "mediaType": "application/vnd.oci.image.layer.v1.tar+gzip", 12 | "digest": "sha256:927175febb1c60d2eb258611ca41d956a083380321fdbf6c60a7882b2de4054c", 13 | "size": 707227 14 | } 15 | ], 16 | "annotations": { 17 | "org.opencontainers.image.url": "https://github.com/docker-library/busybox", 18 | "org.opencontainers.image.version": "1.36.1-uclibc" 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /latest-1/uclibc/i386/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "schemaVersion": 2, 3 | "mediaType": "application/vnd.oci.image.index.v1+json", 4 | "manifests": [ 5 | { 6 | "mediaType": "application/vnd.oci.image.manifest.v1+json", 7 | "digest": "sha256:8f8b18e7cb747d7415e677524951aa3ce36fa0671369f224a4be892a319704f0", 8 | "size": 610, 9 | "platform": { 10 | "architecture": "386", 11 | "os": "linux" 12 | }, 13 | "annotations": { 14 | "org.opencontainers.image.ref.name": "busybox:1.36.1-uclibc", 15 | "io.containerd.image.name": "busybox:1.36.1-uclibc" 16 | } 17 | } 18 | ] 19 | } 20 | -------------------------------------------------------------------------------- /latest-1/uclibc/i386/oci-layout: -------------------------------------------------------------------------------- 1 | {"imageLayoutVersion":"1.0.0"} 2 | -------------------------------------------------------------------------------- /latest-1/uclibc/mips64le/blobs/sha256/5d8d92d78acbd7bbc0c17474e8b0d5fd3d7c170081bc90546d716758d45aaad9: -------------------------------------------------------------------------------- 1 | ../../image-config.json -------------------------------------------------------------------------------- /latest-1/uclibc/mips64le/blobs/sha256/93eefa7d08dde6821c92d1bf1d60103e4f92ee6dbd1f61d93cbf6dd2bcd98fc7: -------------------------------------------------------------------------------- 1 | ../../rootfs.tar.gz -------------------------------------------------------------------------------- /latest-1/uclibc/mips64le/blobs/sha256/b522e1e935abc0757c088bd49ca1db36f985a33222ca941fedc2ac6325a5f929: -------------------------------------------------------------------------------- 1 | ../../image-manifest.json -------------------------------------------------------------------------------- /latest-1/uclibc/mips64le/image-config.json: -------------------------------------------------------------------------------- 1 | { 2 | "config": { 3 | "Cmd": [ 4 | "sh" 5 | ], 6 | "Env": [ 7 | "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" 8 | ] 9 | }, 10 | "created": "2023-05-18T22:34:17Z", 11 | "history": [ 12 | { 13 | "created": "2023-05-18T22:34:17Z", 14 | "created_by": "BusyBox 1.36.1 (uclibc), Buildroot 2025.02.3, Debian 12" 15 | } 16 | ], 17 | "rootfs": { 18 | "type": "layers", 19 | "diff_ids": [ 20 | "sha256:724eed6be825faccb4bbe863e3a7cc361c36f99077deb7cd3c0de1b850c63fff" 21 | ] 22 | }, 23 | "architecture": "mips64le", 24 | "os": "linux" 25 | } 26 | -------------------------------------------------------------------------------- /latest-1/uclibc/mips64le/image-manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "schemaVersion": 2, 3 | "mediaType": "application/vnd.oci.image.manifest.v1+json", 4 | "config": { 5 | "mediaType": "application/vnd.oci.image.config.v1+json", 6 | "digest": "sha256:5d8d92d78acbd7bbc0c17474e8b0d5fd3d7c170081bc90546d716758d45aaad9", 7 | "size": 484 8 | }, 9 | "layers": [ 10 | { 11 | "mediaType": "application/vnd.oci.image.layer.v1.tar+gzip", 12 | "digest": "sha256:93eefa7d08dde6821c92d1bf1d60103e4f92ee6dbd1f61d93cbf6dd2bcd98fc7", 13 | "size": 945679 14 | } 15 | ], 16 | "annotations": { 17 | "org.opencontainers.image.url": "https://github.com/docker-library/busybox", 18 | "org.opencontainers.image.version": "1.36.1-uclibc" 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /latest-1/uclibc/mips64le/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "schemaVersion": 2, 3 | "mediaType": "application/vnd.oci.image.index.v1+json", 4 | "manifests": [ 5 | { 6 | "mediaType": "application/vnd.oci.image.manifest.v1+json", 7 | "digest": "sha256:b522e1e935abc0757c088bd49ca1db36f985a33222ca941fedc2ac6325a5f929", 8 | "size": 610, 9 | "platform": { 10 | "architecture": "mips64le", 11 | "os": "linux" 12 | }, 13 | "annotations": { 14 | "org.opencontainers.image.ref.name": "busybox:1.36.1-uclibc", 15 | "io.containerd.image.name": "busybox:1.36.1-uclibc" 16 | } 17 | } 18 | ] 19 | } 20 | -------------------------------------------------------------------------------- /latest-1/uclibc/mips64le/oci-layout: -------------------------------------------------------------------------------- 1 | {"imageLayoutVersion":"1.0.0"} 2 | -------------------------------------------------------------------------------- /latest/glibc/Dockerfile: -------------------------------------------------------------------------------- 1 | # this isn't used for the official published images anymore, but is included for backwards compatibility 2 | # see https://github.com/docker-library/bashbrew/issues/51 3 | FROM scratch 4 | ADD busybox.tar.gz / 5 | CMD ["sh"] 6 | -------------------------------------------------------------------------------- /latest/glibc/Dockerfile.builder: -------------------------------------------------------------------------------- 1 | # 2 | # NOTE: THIS DOCKERFILE IS GENERATED VIA "apply-templates.sh" 3 | # 4 | # PLEASE DO NOT EDIT IT DIRECTLY. 5 | # 6 | 7 | FROM debian:bookworm-slim 8 | 9 | RUN set -eux; \ 10 | apt-get update; \ 11 | apt-get install -y \ 12 | bzip2 \ 13 | curl \ 14 | gcc \ 15 | gnupg \ 16 | make \ 17 | patch \ 18 | ; \ 19 | rm -rf /var/lib/apt/lists/* 20 | 21 | # pub 1024D/ACC9965B 2006-12-12 22 | # Key fingerprint = C9E9 416F 76E6 10DB D09D 040F 47B7 0C55 ACC9 965B 23 | # uid Denis Vlasenko 24 | # sub 1024g/2C766641 2006-12-12 25 | RUN mkdir -p ~/.gnupg && gpg --batch --keyserver keyserver.ubuntu.com --recv-keys C9E9416F76E610DBD09D040F47B70C55ACC9965B 26 | 27 | # https://busybox.net: 27 September 2024 28 | ENV BUSYBOX_VERSION 1.37.0 29 | ENV BUSYBOX_SHA256 3311dff32e746499f4df0d5df04d7eb396382d7e108bb9250e7b519b837043a4 30 | 31 | RUN set -eux; \ 32 | tarball="busybox-${BUSYBOX_VERSION}.tar.bz2"; \ 33 | curl -fL -o busybox.tar.bz2.sig "https://busybox.net/downloads/$tarball.sig"; \ 34 | curl -fL -o busybox.tar.bz2 "https://busybox.net/downloads/$tarball"; \ 35 | echo "$BUSYBOX_SHA256 *busybox.tar.bz2" | sha256sum -c -; \ 36 | gpg --batch --verify busybox.tar.bz2.sig busybox.tar.bz2; \ 37 | # Alpine... 😅 38 | mkdir -p /usr/src; \ 39 | tar -xf busybox.tar.bz2 -C /usr/src "busybox-$BUSYBOX_VERSION"; \ 40 | mv "/usr/src/busybox-$BUSYBOX_VERSION" /usr/src/busybox; \ 41 | rm busybox.tar.bz2*; \ 42 | \ 43 | # save the tarball's filesystem timestamp persistently (in case building busybox modifies it) so we can use it for reproducible rootfs later 44 | SOURCE_DATE_EPOCH="$(stat -c '%Y' /usr/src/busybox | tee /usr/src/busybox.SOURCE_DATE_EPOCH)"; \ 45 | date="$(date -d "@$SOURCE_DATE_EPOCH" '+%Y%m%d%H%M.%S')"; \ 46 | touch -t "$date" /usr/src/busybox.SOURCE_DATE_EPOCH; \ 47 | # for logging validation/edification 48 | date --date "@$SOURCE_DATE_EPOCH" --rfc-2822 49 | 50 | WORKDIR /usr/src/busybox 51 | 52 | # apply necessary/minimal patches (see /.patches/ in the top level of the repository) 53 | COPY \ 54 | /.patches/no-cbq.patch \ 55 | /.patches/sha1_process_block64_shaNI.patch \ 56 | ./.patches/ 57 | RUN set -eux; \ 58 | for patch in .patches/*.patch; do \ 59 | patch -p1 --input="$patch"; \ 60 | done; \ 61 | rm -rf .patches 62 | 63 | RUN set -eux; \ 64 | \ 65 | # build date/time gets embedded in the BusyBox binary -- SOURCE_DATE_EPOCH should override that 66 | SOURCE_DATE_EPOCH="$(cat /usr/src/busybox.SOURCE_DATE_EPOCH)"; \ 67 | export SOURCE_DATE_EPOCH; \ 68 | # (has to be set in the config stage for making sure "AUTOCONF_TIMESTAMP" is embedded correctly) 69 | \ 70 | setConfs=' \ 71 | CONFIG_AR=y \ 72 | CONFIG_FEATURE_AR_CREATE=y \ 73 | CONFIG_FEATURE_AR_LONG_FILENAMES=y \ 74 | # CONFIG_LAST_SUPPORTED_WCHAR: see https://github.com/docker-library/busybox/issues/13 (UTF-8 input) 75 | CONFIG_LAST_SUPPORTED_WCHAR=0 \ 76 | # As long as we rely on libnss (see below), we have to have libc.so anyhow, so we've removed CONFIG_STATIC here... 😭 77 | '; \ 78 | \ 79 | unsetConfs=' \ 80 | CONFIG_FEATURE_SYNC_FANCY \ 81 | '; \ 82 | \ 83 | make defconfig; \ 84 | \ 85 | for conf in $unsetConfs; do \ 86 | sed -i \ 87 | -e "s!^$conf=.*\$!# $conf is not set!" \ 88 | .config; \ 89 | done; \ 90 | \ 91 | for confV in $setConfs; do \ 92 | conf="${confV%=*}"; \ 93 | sed -i \ 94 | -e "s!^$conf=.*\$!$confV!" \ 95 | -e "s!^# $conf is not set\$!$confV!" \ 96 | .config; \ 97 | if ! grep -q "^$confV\$" .config; then \ 98 | echo "$confV" >> .config; \ 99 | fi; \ 100 | done; \ 101 | \ 102 | make oldconfig; \ 103 | \ 104 | # trust, but verify 105 | for conf in $unsetConfs; do \ 106 | ! grep -q "^$conf=" .config; \ 107 | done; \ 108 | for confV in $setConfs; do \ 109 | grep -q "^$confV\$" .config; \ 110 | done 111 | 112 | RUN set -eux; \ 113 | nproc="$(nproc)"; \ 114 | # https://git.busybox.net/busybox/tree/Makefile?h=1_37_stable#n145 115 | # we need to override SUBARCH explicitly (via ARCH) to avoid "uname -m" which gives the wrong answer for builds like i386 on an amd64 machine because kernel architecture != userspace architecture 116 | # see https://git.busybox.net/busybox/tree/arch?h=1_37_stable#n145 for the only important values this *has* to match (everything else is best-effort, and needs to match the munging in https://git.busybox.net/busybox/tree/Makefile?h=1_37_stable#n185) 117 | distroArch="$(dpkg --print-architecture)"; \ 118 | case "$distroArch" in \ 119 | amd64 | x86_64) ARCH='x86_64' ;; \ 120 | arm64 | aarch64) ARCH='aarch64' ;; \ 121 | armhf | armel | armv*) ARCH='arm' ;; \ 122 | i386 | x86) ARCH='i386' ;; \ 123 | mips*) ARCH='mips' ;; \ 124 | ppc*) ARCH='powerpc' ;; \ 125 | riscv64) ARCH='riscv64' ;; \ 126 | s390x) ARCH='s390' ;; \ 127 | *) echo >&2 "error: unknown architecture: '$distroArch'"; exit 1 ;; \ 128 | esac; \ 129 | [ -n "$ARCH" ]; \ 130 | export ARCH; \ 131 | make -j "$nproc" busybox; \ 132 | ./busybox --help; \ 133 | mkdir -p rootfs/bin; \ 134 | ln -vL busybox rootfs/bin/; \ 135 | \ 136 | # copy "getconf" from Debian 137 | getconf="$(which getconf)"; \ 138 | ln -vL "$getconf" rootfs/bin/getconf; \ 139 | \ 140 | # hack hack hack hack hack 141 | # with glibc, busybox (static or not) uses libnss for DNS resolution :( 142 | mkdir -p rootfs/etc; \ 143 | cp /etc/nsswitch.conf rootfs/etc/; \ 144 | mkdir -p rootfs/lib; \ 145 | ln -sT lib rootfs/lib64; \ 146 | gccMultiarch="$(gcc -print-multiarch)"; \ 147 | set -- \ 148 | rootfs/bin/busybox \ 149 | rootfs/bin/getconf \ 150 | /lib/"$gccMultiarch"/libnss*.so.* \ 151 | # libpthread is part of glibc: https://stackoverflow.com/a/11210463/433558 152 | /lib/"$gccMultiarch"/libpthread*.so.* \ 153 | ; \ 154 | while [ "$#" -gt 0 ]; do \ 155 | f="$1"; shift; \ 156 | fn="$(basename "$f")"; \ 157 | if [ -e "rootfs/lib/$fn" ]; then continue; fi; \ 158 | if [ "${f#rootfs/}" = "$f" ]; then \ 159 | if [ "${fn#ld-}" = "$fn" ]; then \ 160 | ln -vL "$f" "rootfs/lib/$fn"; \ 161 | else \ 162 | cp -v "$f" "rootfs/lib/$fn"; \ 163 | fi; \ 164 | fi; \ 165 | ldd="$(ldd "$f" | awk ' \ 166 | $1 ~ /^\// { print $1; next } \ 167 | $2 == "=>" && $3 ~ /^\// { print $3; next } \ 168 | ')"; \ 169 | set -- "$@" $ldd; \ 170 | done; \ 171 | chroot rootfs /bin/getconf _NPROCESSORS_ONLN; \ 172 | \ 173 | # TODO make this create symlinks instead so the output tarball is cleaner (but "-s" outputs absolute symlinks which is kind of annoying to deal with -- we should also consider letting busybox determine the "install paths"; see "busybox --list-full") 174 | chroot rootfs /bin/busybox --install /bin 175 | 176 | # install a few extra files from buildroot (/etc/passwd, etc) 177 | RUN set -eux; \ 178 | buildrootVersion='2025.02.3'; \ 179 | for file in \ 180 | system/device_table.txt \ 181 | system/skeleton/etc/group \ 182 | system/skeleton/etc/passwd \ 183 | system/skeleton/etc/shadow \ 184 | ; do \ 185 | dir="$(dirname "$file")"; \ 186 | mkdir -p "../buildroot/$dir"; \ 187 | curl -fL -o "../buildroot/$file" "https://gitlab.com/buildroot.org/buildroot/-/raw/$buildrootVersion/$file"; \ 188 | [ -s "../buildroot/$file" ]; \ 189 | done; \ 190 | \ 191 | mkdir -p rootfs/etc; \ 192 | ln -vL \ 193 | ../buildroot/system/skeleton/etc/group \ 194 | ../buildroot/system/skeleton/etc/passwd \ 195 | ../buildroot/system/skeleton/etc/shadow \ 196 | rootfs/etc/ \ 197 | ; \ 198 | # CVE-2019-5021, https://github.com/docker-library/official-images/pull/5880#issuecomment-490681907 199 | grep -E '^root::' rootfs/etc/shadow; \ 200 | sed -ri -e 's/^root::/root:*:/' rootfs/etc/shadow; \ 201 | grep -E '^root:[*]:' rootfs/etc/shadow; \ 202 | # set expected permissions, etc too (https://gitlab.com/buildroot.org/buildroot/-/blob/HEAD/system/device_table.txt) 203 | awk ' \ 204 | !/^#/ { \ 205 | if ($2 != "d" && $2 != "f") { \ 206 | printf "error: unknown type \"%s\" encountered in line %d: %s\n", $2, NR, $0 > "/dev/stderr"; \ 207 | exit 1; \ 208 | } \ 209 | sub(/^\/?/, "rootfs/", $1); \ 210 | if ($2 == "d") { \ 211 | printf "mkdir -p %s\n", $1; \ 212 | } \ 213 | printf "chmod %s %s\n", $3, $1; \ 214 | } \ 215 | ' ../buildroot/system/device_table.txt | sh -eux 216 | 217 | # create missing home directories and ensure /usr/bin/env exists 218 | RUN set -eux; \ 219 | cd rootfs; \ 220 | for userHome in $(awk -F ':' '{ print $3 ":" $4 "=" $6 }' etc/passwd); do \ 221 | user="${userHome%%=*}"; \ 222 | home="${userHome#*=}"; \ 223 | home="./${home#/}"; \ 224 | if [ ! -d "$home" ]; then \ 225 | mkdir -p "$home"; \ 226 | chown "$user" "$home"; \ 227 | chmod 755 "$home"; \ 228 | fi; \ 229 | done; \ 230 | if [ ! -s usr/bin/env ] && [ -s bin/env ]; then \ 231 | mkdir -p usr/bin; \ 232 | ln -s ../../bin/env usr/bin/; \ 233 | fi 234 | 235 | # test and make sure it works 236 | RUN chroot rootfs /usr/bin/env sh -xec 'true' 237 | 238 | # ensure correct timezone (UTC) 239 | RUN set -eux; \ 240 | ln -vL /usr/share/zoneinfo/UTC rootfs/etc/localtime; \ 241 | [ "$(chroot rootfs date +%Z)" = 'UTC' ] 242 | 243 | # test and make sure DNS works too 244 | RUN set -eux; \ 245 | cp -L /etc/resolv.conf rootfs/etc/; \ 246 | chroot rootfs /bin/sh -xec 'nslookup google.com'; \ 247 | rm rootfs/etc/resolv.conf 248 | 249 | # vim:set ft=dockerfile: 250 | -------------------------------------------------------------------------------- /latest/glibc/amd64/blobs/sha256/6d3e4188a38af91b0c1577b9e88c53368926b2fe0e1fb985d6e8a70040520c4d: -------------------------------------------------------------------------------- 1 | ../../image-config.json -------------------------------------------------------------------------------- /latest/glibc/amd64/blobs/sha256/7c0ffe5751238c8479f952f3fbc3b719d47bccac0e9bf0a21c77a27cba9ef12d: -------------------------------------------------------------------------------- 1 | ../../image-manifest.json -------------------------------------------------------------------------------- /latest/glibc/amd64/blobs/sha256/90b9666d4aed1893ff122f238948dfd5e8efdcf6c444fe92371ea0f01750bf8c: -------------------------------------------------------------------------------- 1 | ../../rootfs.tar.gz -------------------------------------------------------------------------------- /latest/glibc/amd64/image-config.json: -------------------------------------------------------------------------------- 1 | { 2 | "config": { 3 | "Cmd": [ 4 | "sh" 5 | ], 6 | "Env": [ 7 | "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" 8 | ] 9 | }, 10 | "created": "2024-09-26T21:31:42Z", 11 | "history": [ 12 | { 13 | "created": "2024-09-26T21:31:42Z", 14 | "created_by": "BusyBox 1.37.0 (glibc), Debian 12" 15 | } 16 | ], 17 | "rootfs": { 18 | "type": "layers", 19 | "diff_ids": [ 20 | "sha256:65014c70e84b6817fac42bb201ec5c1ea460a8da246cac0e481f5c9a9491eac0" 21 | ] 22 | }, 23 | "architecture": "amd64", 24 | "os": "linux" 25 | } 26 | -------------------------------------------------------------------------------- /latest/glibc/amd64/image-manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "schemaVersion": 2, 3 | "mediaType": "application/vnd.oci.image.manifest.v1+json", 4 | "config": { 5 | "mediaType": "application/vnd.oci.image.config.v1+json", 6 | "digest": "sha256:6d3e4188a38af91b0c1577b9e88c53368926b2fe0e1fb985d6e8a70040520c4d", 7 | "size": 459 8 | }, 9 | "layers": [ 10 | { 11 | "mediaType": "application/vnd.oci.image.layer.v1.tar+gzip", 12 | "digest": "sha256:90b9666d4aed1893ff122f238948dfd5e8efdcf6c444fe92371ea0f01750bf8c", 13 | "size": 2145249 14 | } 15 | ], 16 | "annotations": { 17 | "org.opencontainers.image.url": "https://github.com/docker-library/busybox", 18 | "org.opencontainers.image.version": "1.37.0-glibc" 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /latest/glibc/amd64/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "schemaVersion": 2, 3 | "mediaType": "application/vnd.oci.image.index.v1+json", 4 | "manifests": [ 5 | { 6 | "mediaType": "application/vnd.oci.image.manifest.v1+json", 7 | "digest": "sha256:7c0ffe5751238c8479f952f3fbc3b719d47bccac0e9bf0a21c77a27cba9ef12d", 8 | "size": 610, 9 | "platform": { 10 | "architecture": "amd64", 11 | "os": "linux" 12 | }, 13 | "annotations": { 14 | "org.opencontainers.image.ref.name": "busybox:1.37.0-glibc", 15 | "io.containerd.image.name": "busybox:1.37.0-glibc" 16 | } 17 | } 18 | ] 19 | } 20 | -------------------------------------------------------------------------------- /latest/glibc/amd64/oci-layout: -------------------------------------------------------------------------------- 1 | {"imageLayoutVersion":"1.0.0"} 2 | -------------------------------------------------------------------------------- /latest/glibc/arm32v5/blobs/sha256/08d9f080c5948ace2c733f1167b7b648c5f84bb61d787b646b7882b1b7ae6605: -------------------------------------------------------------------------------- 1 | ../../rootfs.tar.gz -------------------------------------------------------------------------------- /latest/glibc/arm32v5/blobs/sha256/72d81a749da6cd66bc93048846f6ee804a0891e758aacb6b2da2269564a4bdd4: -------------------------------------------------------------------------------- 1 | ../../image-config.json -------------------------------------------------------------------------------- /latest/glibc/arm32v5/blobs/sha256/94d9880e2e0e243fa061c570b4dcf6b1059e9447ef4fe21f8526c67483cee6ad: -------------------------------------------------------------------------------- 1 | ../../image-manifest.json -------------------------------------------------------------------------------- /latest/glibc/arm32v5/image-config.json: -------------------------------------------------------------------------------- 1 | { 2 | "config": { 3 | "Cmd": [ 4 | "sh" 5 | ], 6 | "Env": [ 7 | "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" 8 | ] 9 | }, 10 | "created": "2024-09-26T21:31:42Z", 11 | "history": [ 12 | { 13 | "created": "2024-09-26T21:31:42Z", 14 | "created_by": "BusyBox 1.37.0 (glibc), Debian 12" 15 | } 16 | ], 17 | "rootfs": { 18 | "type": "layers", 19 | "diff_ids": [ 20 | "sha256:a838c0b7bf5776344d5ee3da74df68904c7f4a04a1c2675669ee451238f9657a" 21 | ] 22 | }, 23 | "architecture": "arm", 24 | "os": "linux", 25 | "variant": "v5" 26 | } 27 | -------------------------------------------------------------------------------- /latest/glibc/arm32v5/image-manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "schemaVersion": 2, 3 | "mediaType": "application/vnd.oci.image.manifest.v1+json", 4 | "config": { 5 | "mediaType": "application/vnd.oci.image.config.v1+json", 6 | "digest": "sha256:72d81a749da6cd66bc93048846f6ee804a0891e758aacb6b2da2269564a4bdd4", 7 | "size": 475 8 | }, 9 | "layers": [ 10 | { 11 | "mediaType": "application/vnd.oci.image.layer.v1.tar+gzip", 12 | "digest": "sha256:08d9f080c5948ace2c733f1167b7b648c5f84bb61d787b646b7882b1b7ae6605", 13 | "size": 1782799 14 | } 15 | ], 16 | "annotations": { 17 | "org.opencontainers.image.url": "https://github.com/docker-library/busybox", 18 | "org.opencontainers.image.version": "1.37.0-glibc" 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /latest/glibc/arm32v5/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "schemaVersion": 2, 3 | "mediaType": "application/vnd.oci.image.index.v1+json", 4 | "manifests": [ 5 | { 6 | "mediaType": "application/vnd.oci.image.manifest.v1+json", 7 | "digest": "sha256:94d9880e2e0e243fa061c570b4dcf6b1059e9447ef4fe21f8526c67483cee6ad", 8 | "size": 610, 9 | "platform": { 10 | "architecture": "arm", 11 | "os": "linux", 12 | "variant": "v5" 13 | }, 14 | "annotations": { 15 | "org.opencontainers.image.ref.name": "busybox:1.37.0-glibc", 16 | "io.containerd.image.name": "busybox:1.37.0-glibc" 17 | } 18 | } 19 | ] 20 | } 21 | -------------------------------------------------------------------------------- /latest/glibc/arm32v5/oci-layout: -------------------------------------------------------------------------------- 1 | {"imageLayoutVersion":"1.0.0"} 2 | -------------------------------------------------------------------------------- /latest/glibc/arm32v7/blobs/sha256/531d203b7ae09ae8d642b19fcf50b25a5c81048a21481e5a5ea889b87141cb08: -------------------------------------------------------------------------------- 1 | ../../image-config.json -------------------------------------------------------------------------------- /latest/glibc/arm32v7/blobs/sha256/8e88e0e970ca8fd24ddea25aa516e6024ae5db11c3edc8cdb986126fbbf0d818: -------------------------------------------------------------------------------- 1 | ../../rootfs.tar.gz -------------------------------------------------------------------------------- /latest/glibc/arm32v7/blobs/sha256/c859036e179b71840fe935083b39399ae7fb8c2fd023b70a28b101446e036631: -------------------------------------------------------------------------------- 1 | ../../image-manifest.json -------------------------------------------------------------------------------- /latest/glibc/arm32v7/image-config.json: -------------------------------------------------------------------------------- 1 | { 2 | "config": { 3 | "Cmd": [ 4 | "sh" 5 | ], 6 | "Env": [ 7 | "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" 8 | ] 9 | }, 10 | "created": "2024-09-26T21:31:42Z", 11 | "history": [ 12 | { 13 | "created": "2024-09-26T21:31:42Z", 14 | "created_by": "BusyBox 1.37.0 (glibc), Debian 12" 15 | } 16 | ], 17 | "rootfs": { 18 | "type": "layers", 19 | "diff_ids": [ 20 | "sha256:2e40d740a707675a0ace3ac7b61b2f1bb9963f273ec68f8287e612658159631f" 21 | ] 22 | }, 23 | "architecture": "arm", 24 | "os": "linux", 25 | "variant": "v7" 26 | } 27 | -------------------------------------------------------------------------------- /latest/glibc/arm32v7/image-manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "schemaVersion": 2, 3 | "mediaType": "application/vnd.oci.image.manifest.v1+json", 4 | "config": { 5 | "mediaType": "application/vnd.oci.image.config.v1+json", 6 | "digest": "sha256:531d203b7ae09ae8d642b19fcf50b25a5c81048a21481e5a5ea889b87141cb08", 7 | "size": 475 8 | }, 9 | "layers": [ 10 | { 11 | "mediaType": "application/vnd.oci.image.layer.v1.tar+gzip", 12 | "digest": "sha256:8e88e0e970ca8fd24ddea25aa516e6024ae5db11c3edc8cdb986126fbbf0d818", 13 | "size": 1558756 14 | } 15 | ], 16 | "annotations": { 17 | "org.opencontainers.image.url": "https://github.com/docker-library/busybox", 18 | "org.opencontainers.image.version": "1.37.0-glibc" 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /latest/glibc/arm32v7/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "schemaVersion": 2, 3 | "mediaType": "application/vnd.oci.image.index.v1+json", 4 | "manifests": [ 5 | { 6 | "mediaType": "application/vnd.oci.image.manifest.v1+json", 7 | "digest": "sha256:c859036e179b71840fe935083b39399ae7fb8c2fd023b70a28b101446e036631", 8 | "size": 610, 9 | "platform": { 10 | "architecture": "arm", 11 | "os": "linux", 12 | "variant": "v7" 13 | }, 14 | "annotations": { 15 | "org.opencontainers.image.ref.name": "busybox:1.37.0-glibc", 16 | "io.containerd.image.name": "busybox:1.37.0-glibc" 17 | } 18 | } 19 | ] 20 | } 21 | -------------------------------------------------------------------------------- /latest/glibc/arm32v7/oci-layout: -------------------------------------------------------------------------------- 1 | {"imageLayoutVersion":"1.0.0"} 2 | -------------------------------------------------------------------------------- /latest/glibc/arm64v8/blobs/sha256/189fdd1508372905e80cc3edcdb56cdc4fa216aebef6f332dd3cba6e300238ea: -------------------------------------------------------------------------------- 1 | ../../rootfs.tar.gz -------------------------------------------------------------------------------- /latest/glibc/arm64v8/blobs/sha256/68a0d55a75c935e1101d16ded1c748babb7f96a9af43f7533ba83b87e2508b82: -------------------------------------------------------------------------------- 1 | ../../image-manifest.json -------------------------------------------------------------------------------- /latest/glibc/arm64v8/blobs/sha256/7b4721e214600044496305a20ca3902677e572127d4d976ed0e54da0137c243a: -------------------------------------------------------------------------------- 1 | ../../image-config.json -------------------------------------------------------------------------------- /latest/glibc/arm64v8/image-config.json: -------------------------------------------------------------------------------- 1 | { 2 | "config": { 3 | "Cmd": [ 4 | "sh" 5 | ], 6 | "Env": [ 7 | "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" 8 | ] 9 | }, 10 | "created": "2024-09-26T21:31:42Z", 11 | "history": [ 12 | { 13 | "created": "2024-09-26T21:31:42Z", 14 | "created_by": "BusyBox 1.37.0 (glibc), Debian 12" 15 | } 16 | ], 17 | "rootfs": { 18 | "type": "layers", 19 | "diff_ids": [ 20 | "sha256:9fa34069244e8a974713718183d81b5ef71c85f5702fe958ffde16b77361f425" 21 | ] 22 | }, 23 | "architecture": "arm64", 24 | "os": "linux", 25 | "variant": "v8" 26 | } 27 | -------------------------------------------------------------------------------- /latest/glibc/arm64v8/image-manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "schemaVersion": 2, 3 | "mediaType": "application/vnd.oci.image.manifest.v1+json", 4 | "config": { 5 | "mediaType": "application/vnd.oci.image.config.v1+json", 6 | "digest": "sha256:7b4721e214600044496305a20ca3902677e572127d4d976ed0e54da0137c243a", 7 | "size": 477 8 | }, 9 | "layers": [ 10 | { 11 | "mediaType": "application/vnd.oci.image.layer.v1.tar+gzip", 12 | "digest": "sha256:189fdd1508372905e80cc3edcdb56cdc4fa216aebef6f332dd3cba6e300238ea", 13 | "size": 1844697 14 | } 15 | ], 16 | "annotations": { 17 | "org.opencontainers.image.url": "https://github.com/docker-library/busybox", 18 | "org.opencontainers.image.version": "1.37.0-glibc" 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /latest/glibc/arm64v8/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "schemaVersion": 2, 3 | "mediaType": "application/vnd.oci.image.index.v1+json", 4 | "manifests": [ 5 | { 6 | "mediaType": "application/vnd.oci.image.manifest.v1+json", 7 | "digest": "sha256:68a0d55a75c935e1101d16ded1c748babb7f96a9af43f7533ba83b87e2508b82", 8 | "size": 610, 9 | "platform": { 10 | "architecture": "arm64", 11 | "os": "linux", 12 | "variant": "v8" 13 | }, 14 | "annotations": { 15 | "org.opencontainers.image.ref.name": "busybox:1.37.0-glibc", 16 | "io.containerd.image.name": "busybox:1.37.0-glibc" 17 | } 18 | } 19 | ] 20 | } 21 | -------------------------------------------------------------------------------- /latest/glibc/arm64v8/oci-layout: -------------------------------------------------------------------------------- 1 | {"imageLayoutVersion":"1.0.0"} 2 | -------------------------------------------------------------------------------- /latest/glibc/i386/blobs/sha256/084d025c7245fb575b5508fec7ce8f68a104f79b7f0216734b8c07903acca054: -------------------------------------------------------------------------------- 1 | ../../rootfs.tar.gz -------------------------------------------------------------------------------- /latest/glibc/i386/blobs/sha256/18ac7a6883a86416ade8178063c26deff577cd831445f5c5ac5c7a931cb60983: -------------------------------------------------------------------------------- 1 | ../../image-manifest.json -------------------------------------------------------------------------------- /latest/glibc/i386/blobs/sha256/3b860bf476e512132ebaa701e97cfe5c25993c07b6d4784d4f4e685501aa0bef: -------------------------------------------------------------------------------- 1 | ../../image-config.json -------------------------------------------------------------------------------- /latest/glibc/i386/image-config.json: -------------------------------------------------------------------------------- 1 | { 2 | "config": { 3 | "Cmd": [ 4 | "sh" 5 | ], 6 | "Env": [ 7 | "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" 8 | ] 9 | }, 10 | "created": "2024-09-26T21:31:42Z", 11 | "history": [ 12 | { 13 | "created": "2024-09-26T21:31:42Z", 14 | "created_by": "BusyBox 1.37.0 (glibc), Debian 12" 15 | } 16 | ], 17 | "rootfs": { 18 | "type": "layers", 19 | "diff_ids": [ 20 | "sha256:a70dec1efddcf8ecbda4897fe943596e59f12c636929c9aa7ddc643203d911ed" 21 | ] 22 | }, 23 | "architecture": "386", 24 | "os": "linux" 25 | } 26 | -------------------------------------------------------------------------------- /latest/glibc/i386/image-manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "schemaVersion": 2, 3 | "mediaType": "application/vnd.oci.image.manifest.v1+json", 4 | "config": { 5 | "mediaType": "application/vnd.oci.image.config.v1+json", 6 | "digest": "sha256:3b860bf476e512132ebaa701e97cfe5c25993c07b6d4784d4f4e685501aa0bef", 7 | "size": 457 8 | }, 9 | "layers": [ 10 | { 11 | "mediaType": "application/vnd.oci.image.layer.v1.tar+gzip", 12 | "digest": "sha256:084d025c7245fb575b5508fec7ce8f68a104f79b7f0216734b8c07903acca054", 13 | "size": 2211476 14 | } 15 | ], 16 | "annotations": { 17 | "org.opencontainers.image.url": "https://github.com/docker-library/busybox", 18 | "org.opencontainers.image.version": "1.37.0-glibc" 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /latest/glibc/i386/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "schemaVersion": 2, 3 | "mediaType": "application/vnd.oci.image.index.v1+json", 4 | "manifests": [ 5 | { 6 | "mediaType": "application/vnd.oci.image.manifest.v1+json", 7 | "digest": "sha256:18ac7a6883a86416ade8178063c26deff577cd831445f5c5ac5c7a931cb60983", 8 | "size": 610, 9 | "platform": { 10 | "architecture": "386", 11 | "os": "linux" 12 | }, 13 | "annotations": { 14 | "org.opencontainers.image.ref.name": "busybox:1.37.0-glibc", 15 | "io.containerd.image.name": "busybox:1.37.0-glibc" 16 | } 17 | } 18 | ] 19 | } 20 | -------------------------------------------------------------------------------- /latest/glibc/i386/oci-layout: -------------------------------------------------------------------------------- 1 | {"imageLayoutVersion":"1.0.0"} 2 | -------------------------------------------------------------------------------- /latest/glibc/mips64le/blobs/sha256/552f827dac3a86a1ae513b14e859fa9f348dc6657f0d3c1868c6f4b7a5b958a4: -------------------------------------------------------------------------------- 1 | ../../rootfs.tar.gz -------------------------------------------------------------------------------- /latest/glibc/mips64le/blobs/sha256/b81eed542d1e5e9f0971810947a6de31b5ab5d3cc5bf6d7ad8f641784fb31b9f: -------------------------------------------------------------------------------- 1 | ../../image-config.json -------------------------------------------------------------------------------- /latest/glibc/mips64le/blobs/sha256/ddac8b22852783747c1b61a9354e72279edb0926f4c825f6b5e9724057148249: -------------------------------------------------------------------------------- 1 | ../../image-manifest.json -------------------------------------------------------------------------------- /latest/glibc/mips64le/image-config.json: -------------------------------------------------------------------------------- 1 | { 2 | "config": { 3 | "Cmd": [ 4 | "sh" 5 | ], 6 | "Env": [ 7 | "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" 8 | ] 9 | }, 10 | "created": "2024-09-26T21:31:42Z", 11 | "history": [ 12 | { 13 | "created": "2024-09-26T21:31:42Z", 14 | "created_by": "BusyBox 1.37.0 (glibc), Debian 12" 15 | } 16 | ], 17 | "rootfs": { 18 | "type": "layers", 19 | "diff_ids": [ 20 | "sha256:1ce6d7aa7756c953513a90ca5d31a2f3653bace378f9f179e1715b732234218d" 21 | ] 22 | }, 23 | "architecture": "mips64le", 24 | "os": "linux" 25 | } 26 | -------------------------------------------------------------------------------- /latest/glibc/mips64le/image-manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "schemaVersion": 2, 3 | "mediaType": "application/vnd.oci.image.manifest.v1+json", 4 | "config": { 5 | "mediaType": "application/vnd.oci.image.config.v1+json", 6 | "digest": "sha256:b81eed542d1e5e9f0971810947a6de31b5ab5d3cc5bf6d7ad8f641784fb31b9f", 7 | "size": 462 8 | }, 9 | "layers": [ 10 | { 11 | "mediaType": "application/vnd.oci.image.layer.v1.tar+gzip", 12 | "digest": "sha256:552f827dac3a86a1ae513b14e859fa9f348dc6657f0d3c1868c6f4b7a5b958a4", 13 | "size": 2083249 14 | } 15 | ], 16 | "annotations": { 17 | "org.opencontainers.image.url": "https://github.com/docker-library/busybox", 18 | "org.opencontainers.image.version": "1.37.0-glibc" 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /latest/glibc/mips64le/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "schemaVersion": 2, 3 | "mediaType": "application/vnd.oci.image.index.v1+json", 4 | "manifests": [ 5 | { 6 | "mediaType": "application/vnd.oci.image.manifest.v1+json", 7 | "digest": "sha256:ddac8b22852783747c1b61a9354e72279edb0926f4c825f6b5e9724057148249", 8 | "size": 610, 9 | "platform": { 10 | "architecture": "mips64le", 11 | "os": "linux" 12 | }, 13 | "annotations": { 14 | "org.opencontainers.image.ref.name": "busybox:1.37.0-glibc", 15 | "io.containerd.image.name": "busybox:1.37.0-glibc" 16 | } 17 | } 18 | ] 19 | } 20 | -------------------------------------------------------------------------------- /latest/glibc/mips64le/oci-layout: -------------------------------------------------------------------------------- 1 | {"imageLayoutVersion":"1.0.0"} 2 | -------------------------------------------------------------------------------- /latest/glibc/ppc64le/blobs/sha256/074870a1f80e27608aefd2c568253f644f52534d690c68103f59c31e5a53b775: -------------------------------------------------------------------------------- 1 | ../../image-config.json -------------------------------------------------------------------------------- /latest/glibc/ppc64le/blobs/sha256/8412c80c59e2720a095d18c00b982330fe12f9630cb7fca658ff2a4352228f5f: -------------------------------------------------------------------------------- 1 | ../../image-manifest.json -------------------------------------------------------------------------------- /latest/glibc/ppc64le/blobs/sha256/f8ec14f72442f0606ff66df10201642839080d2f65fe7a6a6a94fbdcccb16e82: -------------------------------------------------------------------------------- 1 | ../../rootfs.tar.gz -------------------------------------------------------------------------------- /latest/glibc/ppc64le/image-config.json: -------------------------------------------------------------------------------- 1 | { 2 | "config": { 3 | "Cmd": [ 4 | "sh" 5 | ], 6 | "Env": [ 7 | "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" 8 | ] 9 | }, 10 | "created": "2024-09-26T21:31:42Z", 11 | "history": [ 12 | { 13 | "created": "2024-09-26T21:31:42Z", 14 | "created_by": "BusyBox 1.37.0 (glibc), Debian 12" 15 | } 16 | ], 17 | "rootfs": { 18 | "type": "layers", 19 | "diff_ids": [ 20 | "sha256:69c3fafd5735b788e202c48759f3df4d3607dc6b25d03d505c5901f39420813d" 21 | ] 22 | }, 23 | "architecture": "ppc64le", 24 | "os": "linux" 25 | } 26 | -------------------------------------------------------------------------------- /latest/glibc/ppc64le/image-manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "schemaVersion": 2, 3 | "mediaType": "application/vnd.oci.image.manifest.v1+json", 4 | "config": { 5 | "mediaType": "application/vnd.oci.image.config.v1+json", 6 | "digest": "sha256:074870a1f80e27608aefd2c568253f644f52534d690c68103f59c31e5a53b775", 7 | "size": 461 8 | }, 9 | "layers": [ 10 | { 11 | "mediaType": "application/vnd.oci.image.layer.v1.tar+gzip", 12 | "digest": "sha256:f8ec14f72442f0606ff66df10201642839080d2f65fe7a6a6a94fbdcccb16e82", 13 | "size": 2464792 14 | } 15 | ], 16 | "annotations": { 17 | "org.opencontainers.image.url": "https://github.com/docker-library/busybox", 18 | "org.opencontainers.image.version": "1.37.0-glibc" 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /latest/glibc/ppc64le/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "schemaVersion": 2, 3 | "mediaType": "application/vnd.oci.image.index.v1+json", 4 | "manifests": [ 5 | { 6 | "mediaType": "application/vnd.oci.image.manifest.v1+json", 7 | "digest": "sha256:8412c80c59e2720a095d18c00b982330fe12f9630cb7fca658ff2a4352228f5f", 8 | "size": 610, 9 | "platform": { 10 | "architecture": "ppc64le", 11 | "os": "linux" 12 | }, 13 | "annotations": { 14 | "org.opencontainers.image.ref.name": "busybox:1.37.0-glibc", 15 | "io.containerd.image.name": "busybox:1.37.0-glibc" 16 | } 17 | } 18 | ] 19 | } 20 | -------------------------------------------------------------------------------- /latest/glibc/ppc64le/oci-layout: -------------------------------------------------------------------------------- 1 | {"imageLayoutVersion":"1.0.0"} 2 | -------------------------------------------------------------------------------- /latest/glibc/s390x/blobs/sha256/5b77c2495ddab55874cbd7610c80f31d7ae9200a9803a0edc5b79666f32fd155: -------------------------------------------------------------------------------- 1 | ../../image-config.json -------------------------------------------------------------------------------- /latest/glibc/s390x/blobs/sha256/5eb33dce04a284c91c76a36f2e27b2eaed37b48c3f483f37600cb8bb165bc20b: -------------------------------------------------------------------------------- 1 | ../../rootfs.tar.gz -------------------------------------------------------------------------------- /latest/glibc/s390x/blobs/sha256/fec56dcf5c3b8c3635489b39b1096b7d8ba62c701675ab8c7e0ee74be458b8d0: -------------------------------------------------------------------------------- 1 | ../../image-manifest.json -------------------------------------------------------------------------------- /latest/glibc/s390x/image-config.json: -------------------------------------------------------------------------------- 1 | { 2 | "config": { 3 | "Cmd": [ 4 | "sh" 5 | ], 6 | "Env": [ 7 | "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" 8 | ] 9 | }, 10 | "created": "2024-09-26T21:31:42Z", 11 | "history": [ 12 | { 13 | "created": "2024-09-26T21:31:42Z", 14 | "created_by": "BusyBox 1.37.0 (glibc), Debian 12" 15 | } 16 | ], 17 | "rootfs": { 18 | "type": "layers", 19 | "diff_ids": [ 20 | "sha256:7295826a05b4161ea910ca22d0d169eec293b904f9be138e57cfa4371c559f9d" 21 | ] 22 | }, 23 | "architecture": "s390x", 24 | "os": "linux" 25 | } 26 | -------------------------------------------------------------------------------- /latest/glibc/s390x/image-manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "schemaVersion": 2, 3 | "mediaType": "application/vnd.oci.image.manifest.v1+json", 4 | "config": { 5 | "mediaType": "application/vnd.oci.image.config.v1+json", 6 | "digest": "sha256:5b77c2495ddab55874cbd7610c80f31d7ae9200a9803a0edc5b79666f32fd155", 7 | "size": 459 8 | }, 9 | "layers": [ 10 | { 11 | "mediaType": "application/vnd.oci.image.layer.v1.tar+gzip", 12 | "digest": "sha256:5eb33dce04a284c91c76a36f2e27b2eaed37b48c3f483f37600cb8bb165bc20b", 13 | "size": 1885567 14 | } 15 | ], 16 | "annotations": { 17 | "org.opencontainers.image.url": "https://github.com/docker-library/busybox", 18 | "org.opencontainers.image.version": "1.37.0-glibc" 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /latest/glibc/s390x/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "schemaVersion": 2, 3 | "mediaType": "application/vnd.oci.image.index.v1+json", 4 | "manifests": [ 5 | { 6 | "mediaType": "application/vnd.oci.image.manifest.v1+json", 7 | "digest": "sha256:fec56dcf5c3b8c3635489b39b1096b7d8ba62c701675ab8c7e0ee74be458b8d0", 8 | "size": 610, 9 | "platform": { 10 | "architecture": "s390x", 11 | "os": "linux" 12 | }, 13 | "annotations": { 14 | "org.opencontainers.image.ref.name": "busybox:1.37.0-glibc", 15 | "io.containerd.image.name": "busybox:1.37.0-glibc" 16 | } 17 | } 18 | ] 19 | } 20 | -------------------------------------------------------------------------------- /latest/glibc/s390x/oci-layout: -------------------------------------------------------------------------------- 1 | {"imageLayoutVersion":"1.0.0"} 2 | -------------------------------------------------------------------------------- /latest/musl/Dockerfile: -------------------------------------------------------------------------------- 1 | # this isn't used for the official published images anymore, but is included for backwards compatibility 2 | # see https://github.com/docker-library/bashbrew/issues/51 3 | FROM scratch 4 | ADD busybox.tar.gz / 5 | CMD ["sh"] 6 | -------------------------------------------------------------------------------- /latest/musl/Dockerfile.builder: -------------------------------------------------------------------------------- 1 | # 2 | # NOTE: THIS DOCKERFILE IS GENERATED VIA "apply-templates.sh" 3 | # 4 | # PLEASE DO NOT EDIT IT DIRECTLY. 5 | # 6 | 7 | FROM alpine:3.22 8 | 9 | RUN set -eux; \ 10 | apk add --no-cache \ 11 | bzip2 \ 12 | coreutils \ 13 | curl \ 14 | gcc \ 15 | gnupg \ 16 | linux-headers \ 17 | make \ 18 | musl-dev \ 19 | patch \ 20 | tzdata \ 21 | # busybox's tar ironically does not maintain mtime of directories correctly (which we need for SOURCE_DATE_EPOCH / reproducibility) 22 | tar \ 23 | ; 24 | 25 | # pub 1024D/ACC9965B 2006-12-12 26 | # Key fingerprint = C9E9 416F 76E6 10DB D09D 040F 47B7 0C55 ACC9 965B 27 | # uid Denis Vlasenko 28 | # sub 1024g/2C766641 2006-12-12 29 | RUN mkdir -p ~/.gnupg && gpg --batch --keyserver keyserver.ubuntu.com --recv-keys C9E9416F76E610DBD09D040F47B70C55ACC9965B 30 | 31 | # https://busybox.net: 27 September 2024 32 | ENV BUSYBOX_VERSION 1.37.0 33 | ENV BUSYBOX_SHA256 3311dff32e746499f4df0d5df04d7eb396382d7e108bb9250e7b519b837043a4 34 | 35 | RUN set -eux; \ 36 | tarball="busybox-${BUSYBOX_VERSION}.tar.bz2"; \ 37 | curl -fL -o busybox.tar.bz2.sig "https://busybox.net/downloads/$tarball.sig"; \ 38 | curl -fL -o busybox.tar.bz2 "https://busybox.net/downloads/$tarball"; \ 39 | echo "$BUSYBOX_SHA256 *busybox.tar.bz2" | sha256sum -c -; \ 40 | gpg --batch --verify busybox.tar.bz2.sig busybox.tar.bz2; \ 41 | # Alpine... 😅 42 | mkdir -p /usr/src; \ 43 | tar -xf busybox.tar.bz2 -C /usr/src "busybox-$BUSYBOX_VERSION"; \ 44 | mv "/usr/src/busybox-$BUSYBOX_VERSION" /usr/src/busybox; \ 45 | rm busybox.tar.bz2*; \ 46 | \ 47 | # save the tarball's filesystem timestamp persistently (in case building busybox modifies it) so we can use it for reproducible rootfs later 48 | SOURCE_DATE_EPOCH="$(stat -c '%Y' /usr/src/busybox | tee /usr/src/busybox.SOURCE_DATE_EPOCH)"; \ 49 | date="$(date -d "@$SOURCE_DATE_EPOCH" '+%Y%m%d%H%M.%S')"; \ 50 | touch -t "$date" /usr/src/busybox.SOURCE_DATE_EPOCH; \ 51 | # for logging validation/edification 52 | date --date "@$SOURCE_DATE_EPOCH" --rfc-2822 53 | 54 | WORKDIR /usr/src/busybox 55 | 56 | # apply necessary/minimal patches (see /.patches/ in the top level of the repository) 57 | COPY \ 58 | /.patches/no-cbq.patch \ 59 | /.patches/sha1_process_block64_shaNI.patch \ 60 | ./.patches/ 61 | RUN set -eux; \ 62 | for patch in .patches/*.patch; do \ 63 | patch -p1 --input="$patch"; \ 64 | done; \ 65 | rm -rf .patches 66 | 67 | RUN set -eux; \ 68 | \ 69 | # build date/time gets embedded in the BusyBox binary -- SOURCE_DATE_EPOCH should override that 70 | SOURCE_DATE_EPOCH="$(cat /usr/src/busybox.SOURCE_DATE_EPOCH)"; \ 71 | export SOURCE_DATE_EPOCH; \ 72 | # (has to be set in the config stage for making sure "AUTOCONF_TIMESTAMP" is embedded correctly) 73 | \ 74 | setConfs=' \ 75 | CONFIG_AR=y \ 76 | CONFIG_FEATURE_AR_CREATE=y \ 77 | CONFIG_FEATURE_AR_LONG_FILENAMES=y \ 78 | # CONFIG_LAST_SUPPORTED_WCHAR: see https://github.com/docker-library/busybox/issues/13 (UTF-8 input) 79 | CONFIG_LAST_SUPPORTED_WCHAR=0 \ 80 | CONFIG_STATIC=y \ 81 | '; \ 82 | \ 83 | unsetConfs=' \ 84 | CONFIG_FEATURE_SYNC_FANCY \ 85 | \ 86 | # see https://wiki.musl-libc.org/wiki/Building_Busybox 87 | CONFIG_FEATURE_HAVE_RPC \ 88 | CONFIG_FEATURE_INETD_RPC \ 89 | CONFIG_FEATURE_UTMP \ 90 | CONFIG_FEATURE_WTMP \ 91 | '; \ 92 | \ 93 | make defconfig; \ 94 | \ 95 | for conf in $unsetConfs; do \ 96 | sed -i \ 97 | -e "s!^$conf=.*\$!# $conf is not set!" \ 98 | .config; \ 99 | done; \ 100 | \ 101 | for confV in $setConfs; do \ 102 | conf="${confV%=*}"; \ 103 | sed -i \ 104 | -e "s!^$conf=.*\$!$confV!" \ 105 | -e "s!^# $conf is not set\$!$confV!" \ 106 | .config; \ 107 | if ! grep -q "^$confV\$" .config; then \ 108 | echo "$confV" >> .config; \ 109 | fi; \ 110 | done; \ 111 | \ 112 | make oldconfig; \ 113 | \ 114 | # trust, but verify 115 | for conf in $unsetConfs; do \ 116 | ! grep -q "^$conf=" .config; \ 117 | done; \ 118 | for confV in $setConfs; do \ 119 | grep -q "^$confV\$" .config; \ 120 | done 121 | 122 | RUN set -eux; \ 123 | nproc="$(nproc)"; \ 124 | # https://git.busybox.net/busybox/tree/Makefile?h=1_37_stable#n145 125 | # we need to override SUBARCH explicitly (via ARCH) to avoid "uname -m" which gives the wrong answer for builds like i386 on an amd64 machine because kernel architecture != userspace architecture 126 | # see https://git.busybox.net/busybox/tree/arch?h=1_37_stable#n145 for the only important values this *has* to match (everything else is best-effort, and needs to match the munging in https://git.busybox.net/busybox/tree/Makefile?h=1_37_stable#n185) 127 | distroArch="$(apk --print-arch)"; \ 128 | case "$distroArch" in \ 129 | amd64 | x86_64) ARCH='x86_64' ;; \ 130 | arm64 | aarch64) ARCH='aarch64' ;; \ 131 | armhf | armel | armv*) ARCH='arm' ;; \ 132 | i386 | x86) ARCH='i386' ;; \ 133 | mips*) ARCH='mips' ;; \ 134 | ppc*) ARCH='powerpc' ;; \ 135 | riscv64) ARCH='riscv64' ;; \ 136 | s390x) ARCH='s390' ;; \ 137 | *) echo >&2 "error: unknown architecture: '$distroArch'"; exit 1 ;; \ 138 | esac; \ 139 | [ -n "$ARCH" ]; \ 140 | export ARCH; \ 141 | make -j "$nproc" busybox; \ 142 | ./busybox --help; \ 143 | mkdir -p rootfs/bin; \ 144 | ln -vL busybox rootfs/bin/; \ 145 | \ 146 | # copy simplified getconf port from Alpine 147 | # https://github.com/alpinelinux/aports/commits/HEAD/main/musl/getconf.c 148 | curl -fsSL \ 149 | "https://github.com/alpinelinux/aports/raw/48b16204aeeda5bc1f87e49c6b8e23d9abb07c73/main/musl/getconf.c" \ 150 | -o /usr/src/getconf.c \ 151 | ; \ 152 | echo 'd87d0cbb3690ae2c5d8cc218349fd8278b93855dd625deaf7ae50e320aad247c */usr/src/getconf.c' | sha256sum -c -; \ 153 | gcc -o rootfs/bin/getconf -static -Os /usr/src/getconf.c; \ 154 | chroot rootfs /bin/getconf _NPROCESSORS_ONLN; \ 155 | \ 156 | # TODO make this create symlinks instead so the output tarball is cleaner (but "-s" outputs absolute symlinks which is kind of annoying to deal with -- we should also consider letting busybox determine the "install paths"; see "busybox --list-full") 157 | chroot rootfs /bin/busybox --install /bin 158 | 159 | # install a few extra files from buildroot (/etc/passwd, etc) 160 | RUN set -eux; \ 161 | buildrootVersion='2025.02.3'; \ 162 | for file in \ 163 | system/device_table.txt \ 164 | system/skeleton/etc/group \ 165 | system/skeleton/etc/passwd \ 166 | system/skeleton/etc/shadow \ 167 | ; do \ 168 | dir="$(dirname "$file")"; \ 169 | mkdir -p "../buildroot/$dir"; \ 170 | curl -fL -o "../buildroot/$file" "https://gitlab.com/buildroot.org/buildroot/-/raw/$buildrootVersion/$file"; \ 171 | [ -s "../buildroot/$file" ]; \ 172 | done; \ 173 | \ 174 | mkdir -p rootfs/etc; \ 175 | ln -vL \ 176 | ../buildroot/system/skeleton/etc/group \ 177 | ../buildroot/system/skeleton/etc/passwd \ 178 | ../buildroot/system/skeleton/etc/shadow \ 179 | rootfs/etc/ \ 180 | ; \ 181 | # CVE-2019-5021, https://github.com/docker-library/official-images/pull/5880#issuecomment-490681907 182 | grep -E '^root::' rootfs/etc/shadow; \ 183 | sed -ri -e 's/^root::/root:*:/' rootfs/etc/shadow; \ 184 | grep -E '^root:[*]:' rootfs/etc/shadow; \ 185 | # set expected permissions, etc too (https://gitlab.com/buildroot.org/buildroot/-/blob/HEAD/system/device_table.txt) 186 | awk ' \ 187 | !/^#/ { \ 188 | if ($2 != "d" && $2 != "f") { \ 189 | printf "error: unknown type \"%s\" encountered in line %d: %s\n", $2, NR, $0 > "/dev/stderr"; \ 190 | exit 1; \ 191 | } \ 192 | sub(/^\/?/, "rootfs/", $1); \ 193 | if ($2 == "d") { \ 194 | printf "mkdir -p %s\n", $1; \ 195 | } \ 196 | printf "chmod %s %s\n", $3, $1; \ 197 | } \ 198 | ' ../buildroot/system/device_table.txt | sh -eux 199 | 200 | # create missing home directories and ensure /usr/bin/env exists 201 | RUN set -eux; \ 202 | cd rootfs; \ 203 | for userHome in $(awk -F ':' '{ print $3 ":" $4 "=" $6 }' etc/passwd); do \ 204 | user="${userHome%%=*}"; \ 205 | home="${userHome#*=}"; \ 206 | home="./${home#/}"; \ 207 | if [ ! -d "$home" ]; then \ 208 | mkdir -p "$home"; \ 209 | chown "$user" "$home"; \ 210 | chmod 755 "$home"; \ 211 | fi; \ 212 | done; \ 213 | if [ ! -s usr/bin/env ] && [ -s bin/env ]; then \ 214 | mkdir -p usr/bin; \ 215 | ln -s ../../bin/env usr/bin/; \ 216 | fi 217 | 218 | # test and make sure it works 219 | RUN chroot rootfs /usr/bin/env sh -xec 'true' 220 | 221 | # ensure correct timezone (UTC) 222 | RUN set -eux; \ 223 | ln -vL /usr/share/zoneinfo/UTC rootfs/etc/localtime; \ 224 | [ "$(chroot rootfs date +%Z)" = 'UTC' ] 225 | 226 | # test and make sure DNS works too 227 | RUN set -eux; \ 228 | cp -L /etc/resolv.conf rootfs/etc/; \ 229 | chroot rootfs /bin/sh -xec 'nslookup google.com'; \ 230 | rm rootfs/etc/resolv.conf 231 | 232 | # vim:set ft=dockerfile: 233 | -------------------------------------------------------------------------------- /latest/musl/amd64/blobs/sha256/008f65c96291274170bec5cf01b2de06dc049dc9d8f9bfb633520497875ed2c1: -------------------------------------------------------------------------------- 1 | ../../image-manifest.json -------------------------------------------------------------------------------- /latest/musl/amd64/blobs/sha256/7da29d4d35b82e4412a41afd99398c64cc94d58fb5a701c73c684ed22201a14b: -------------------------------------------------------------------------------- 1 | ../../image-config.json -------------------------------------------------------------------------------- /latest/musl/amd64/blobs/sha256/8e7bef4a92afca21c56c9f85e4e63885b320f1da8f8f82a1cf87af359faf57d3: -------------------------------------------------------------------------------- 1 | ../../rootfs.tar.gz -------------------------------------------------------------------------------- /latest/musl/amd64/image-config.json: -------------------------------------------------------------------------------- 1 | { 2 | "config": { 3 | "Cmd": [ 4 | "sh" 5 | ], 6 | "Env": [ 7 | "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" 8 | ] 9 | }, 10 | "created": "2024-09-26T21:31:42Z", 11 | "history": [ 12 | { 13 | "created": "2024-09-26T21:31:42Z", 14 | "created_by": "BusyBox 1.37.0 (musl), Alpine 3.22.0" 15 | } 16 | ], 17 | "rootfs": { 18 | "type": "layers", 19 | "diff_ids": [ 20 | "sha256:c55c447f73367c3a05aaa377149db4fb31ef34f8c3ee447522769663ca0356bc" 21 | ] 22 | }, 23 | "architecture": "amd64", 24 | "os": "linux" 25 | } 26 | -------------------------------------------------------------------------------- /latest/musl/amd64/image-manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "schemaVersion": 2, 3 | "mediaType": "application/vnd.oci.image.manifest.v1+json", 4 | "config": { 5 | "mediaType": "application/vnd.oci.image.config.v1+json", 6 | "digest": "sha256:7da29d4d35b82e4412a41afd99398c64cc94d58fb5a701c73c684ed22201a14b", 7 | "size": 462 8 | }, 9 | "layers": [ 10 | { 11 | "mediaType": "application/vnd.oci.image.layer.v1.tar+gzip", 12 | "digest": "sha256:8e7bef4a92afca21c56c9f85e4e63885b320f1da8f8f82a1cf87af359faf57d3", 13 | "size": 860406 14 | } 15 | ], 16 | "annotations": { 17 | "org.opencontainers.image.url": "https://github.com/docker-library/busybox", 18 | "org.opencontainers.image.version": "1.37.0-musl" 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /latest/musl/amd64/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "schemaVersion": 2, 3 | "mediaType": "application/vnd.oci.image.index.v1+json", 4 | "manifests": [ 5 | { 6 | "mediaType": "application/vnd.oci.image.manifest.v1+json", 7 | "digest": "sha256:008f65c96291274170bec5cf01b2de06dc049dc9d8f9bfb633520497875ed2c1", 8 | "size": 608, 9 | "platform": { 10 | "architecture": "amd64", 11 | "os": "linux" 12 | }, 13 | "annotations": { 14 | "org.opencontainers.image.ref.name": "busybox:1.37.0-musl", 15 | "io.containerd.image.name": "busybox:1.37.0-musl" 16 | } 17 | } 18 | ] 19 | } 20 | -------------------------------------------------------------------------------- /latest/musl/amd64/oci-layout: -------------------------------------------------------------------------------- 1 | {"imageLayoutVersion":"1.0.0"} 2 | -------------------------------------------------------------------------------- /latest/musl/arm32v6/blobs/sha256/1a0f0cba8dd835da24dae3bc5f046666b0e51c1adf0fbff3faac8b66c60fe3e6: -------------------------------------------------------------------------------- 1 | ../../image-manifest.json -------------------------------------------------------------------------------- /latest/musl/arm32v6/blobs/sha256/573021796a71b45328403d06518bb22f0206d30e379128f8f3a2e00b81f71cac: -------------------------------------------------------------------------------- 1 | ../../image-config.json -------------------------------------------------------------------------------- /latest/musl/arm32v6/blobs/sha256/f24d681ac617a81b6bf760b56095830faa108a76bdab32ea722393a2d8c90151: -------------------------------------------------------------------------------- 1 | ../../rootfs.tar.gz -------------------------------------------------------------------------------- /latest/musl/arm32v6/image-config.json: -------------------------------------------------------------------------------- 1 | { 2 | "config": { 3 | "Cmd": [ 4 | "sh" 5 | ], 6 | "Env": [ 7 | "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" 8 | ] 9 | }, 10 | "created": "2024-09-26T21:31:42Z", 11 | "history": [ 12 | { 13 | "created": "2024-09-26T21:31:42Z", 14 | "created_by": "BusyBox 1.37.0 (musl), Alpine 3.22.0" 15 | } 16 | ], 17 | "rootfs": { 18 | "type": "layers", 19 | "diff_ids": [ 20 | "sha256:2e16735c57acfa2ad362c6800fcfb188d70720e0eb81888c57c8848f4f9898ed" 21 | ] 22 | }, 23 | "architecture": "arm", 24 | "os": "linux", 25 | "variant": "v6" 26 | } 27 | -------------------------------------------------------------------------------- /latest/musl/arm32v6/image-manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "schemaVersion": 2, 3 | "mediaType": "application/vnd.oci.image.manifest.v1+json", 4 | "config": { 5 | "mediaType": "application/vnd.oci.image.config.v1+json", 6 | "digest": "sha256:573021796a71b45328403d06518bb22f0206d30e379128f8f3a2e00b81f71cac", 7 | "size": 478 8 | }, 9 | "layers": [ 10 | { 11 | "mediaType": "application/vnd.oci.image.layer.v1.tar+gzip", 12 | "digest": "sha256:f24d681ac617a81b6bf760b56095830faa108a76bdab32ea722393a2d8c90151", 13 | "size": 951324 14 | } 15 | ], 16 | "annotations": { 17 | "org.opencontainers.image.url": "https://github.com/docker-library/busybox", 18 | "org.opencontainers.image.version": "1.37.0-musl" 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /latest/musl/arm32v6/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "schemaVersion": 2, 3 | "mediaType": "application/vnd.oci.image.index.v1+json", 4 | "manifests": [ 5 | { 6 | "mediaType": "application/vnd.oci.image.manifest.v1+json", 7 | "digest": "sha256:1a0f0cba8dd835da24dae3bc5f046666b0e51c1adf0fbff3faac8b66c60fe3e6", 8 | "size": 608, 9 | "platform": { 10 | "architecture": "arm", 11 | "os": "linux", 12 | "variant": "v6" 13 | }, 14 | "annotations": { 15 | "org.opencontainers.image.ref.name": "busybox:1.37.0-musl", 16 | "io.containerd.image.name": "busybox:1.37.0-musl" 17 | } 18 | } 19 | ] 20 | } 21 | -------------------------------------------------------------------------------- /latest/musl/arm32v6/oci-layout: -------------------------------------------------------------------------------- 1 | {"imageLayoutVersion":"1.0.0"} 2 | -------------------------------------------------------------------------------- /latest/musl/arm32v7/blobs/sha256/3c873527f998bba56151b7c7d19c133390a44ef894242e7ad5536de1ac0c347e: -------------------------------------------------------------------------------- 1 | ../../rootfs.tar.gz -------------------------------------------------------------------------------- /latest/musl/arm32v7/blobs/sha256/580253f68c0c915d1f87102ce95e70c2e2806f1dd697d539526125dfa686d915: -------------------------------------------------------------------------------- 1 | ../../image-config.json -------------------------------------------------------------------------------- /latest/musl/arm32v7/blobs/sha256/982f070e2dfac82174272a16161e3d90741508ddc0a650f2a365b8b6648d13ba: -------------------------------------------------------------------------------- 1 | ../../image-manifest.json -------------------------------------------------------------------------------- /latest/musl/arm32v7/image-config.json: -------------------------------------------------------------------------------- 1 | { 2 | "config": { 3 | "Cmd": [ 4 | "sh" 5 | ], 6 | "Env": [ 7 | "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" 8 | ] 9 | }, 10 | "created": "2024-09-26T21:31:42Z", 11 | "history": [ 12 | { 13 | "created": "2024-09-26T21:31:42Z", 14 | "created_by": "BusyBox 1.37.0 (musl), Alpine 3.22.0" 15 | } 16 | ], 17 | "rootfs": { 18 | "type": "layers", 19 | "diff_ids": [ 20 | "sha256:8d69a7b64bb53263f389c8b4fb382fdd250606a8bf891937d5b8be04e0a3f032" 21 | ] 22 | }, 23 | "architecture": "arm", 24 | "os": "linux", 25 | "variant": "v7" 26 | } 27 | -------------------------------------------------------------------------------- /latest/musl/arm32v7/image-manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "schemaVersion": 2, 3 | "mediaType": "application/vnd.oci.image.manifest.v1+json", 4 | "config": { 5 | "mediaType": "application/vnd.oci.image.config.v1+json", 6 | "digest": "sha256:580253f68c0c915d1f87102ce95e70c2e2806f1dd697d539526125dfa686d915", 7 | "size": 478 8 | }, 9 | "layers": [ 10 | { 11 | "mediaType": "application/vnd.oci.image.layer.v1.tar+gzip", 12 | "digest": "sha256:3c873527f998bba56151b7c7d19c133390a44ef894242e7ad5536de1ac0c347e", 13 | "size": 847756 14 | } 15 | ], 16 | "annotations": { 17 | "org.opencontainers.image.url": "https://github.com/docker-library/busybox", 18 | "org.opencontainers.image.version": "1.37.0-musl" 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /latest/musl/arm32v7/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "schemaVersion": 2, 3 | "mediaType": "application/vnd.oci.image.index.v1+json", 4 | "manifests": [ 5 | { 6 | "mediaType": "application/vnd.oci.image.manifest.v1+json", 7 | "digest": "sha256:982f070e2dfac82174272a16161e3d90741508ddc0a650f2a365b8b6648d13ba", 8 | "size": 608, 9 | "platform": { 10 | "architecture": "arm", 11 | "os": "linux", 12 | "variant": "v7" 13 | }, 14 | "annotations": { 15 | "org.opencontainers.image.ref.name": "busybox:1.37.0-musl", 16 | "io.containerd.image.name": "busybox:1.37.0-musl" 17 | } 18 | } 19 | ] 20 | } 21 | -------------------------------------------------------------------------------- /latest/musl/arm32v7/oci-layout: -------------------------------------------------------------------------------- 1 | {"imageLayoutVersion":"1.0.0"} 2 | -------------------------------------------------------------------------------- /latest/musl/arm64v8/blobs/sha256/07b73337cea2a5d87c21278f251e1e742e253232ebd035d6a4a6d2cb4612e462: -------------------------------------------------------------------------------- 1 | ../../rootfs.tar.gz -------------------------------------------------------------------------------- /latest/musl/arm64v8/blobs/sha256/3edb9d07268fcaafb32f5308b128fd2e2628b0b6f726454ef81b322b9442d797: -------------------------------------------------------------------------------- 1 | ../../image-config.json -------------------------------------------------------------------------------- /latest/musl/arm64v8/blobs/sha256/fa366118b986eb5a3c8c2a1cc7e4a67458b8bd152c3cb6e26f7a0b9470966178: -------------------------------------------------------------------------------- 1 | ../../image-manifest.json -------------------------------------------------------------------------------- /latest/musl/arm64v8/image-config.json: -------------------------------------------------------------------------------- 1 | { 2 | "config": { 3 | "Cmd": [ 4 | "sh" 5 | ], 6 | "Env": [ 7 | "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" 8 | ] 9 | }, 10 | "created": "2024-09-26T21:31:42Z", 11 | "history": [ 12 | { 13 | "created": "2024-09-26T21:31:42Z", 14 | "created_by": "BusyBox 1.37.0 (musl), Alpine 3.22.0" 15 | } 16 | ], 17 | "rootfs": { 18 | "type": "layers", 19 | "diff_ids": [ 20 | "sha256:76e82b9df96469030079c3a12a6f4dabb3e0288f17686dc7cbef04fd201ddac5" 21 | ] 22 | }, 23 | "architecture": "arm64", 24 | "os": "linux", 25 | "variant": "v8" 26 | } 27 | -------------------------------------------------------------------------------- /latest/musl/arm64v8/image-manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "schemaVersion": 2, 3 | "mediaType": "application/vnd.oci.image.manifest.v1+json", 4 | "config": { 5 | "mediaType": "application/vnd.oci.image.config.v1+json", 6 | "digest": "sha256:3edb9d07268fcaafb32f5308b128fd2e2628b0b6f726454ef81b322b9442d797", 7 | "size": 480 8 | }, 9 | "layers": [ 10 | { 11 | "mediaType": "application/vnd.oci.image.layer.v1.tar+gzip", 12 | "digest": "sha256:07b73337cea2a5d87c21278f251e1e742e253232ebd035d6a4a6d2cb4612e462", 13 | "size": 892107 14 | } 15 | ], 16 | "annotations": { 17 | "org.opencontainers.image.url": "https://github.com/docker-library/busybox", 18 | "org.opencontainers.image.version": "1.37.0-musl" 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /latest/musl/arm64v8/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "schemaVersion": 2, 3 | "mediaType": "application/vnd.oci.image.index.v1+json", 4 | "manifests": [ 5 | { 6 | "mediaType": "application/vnd.oci.image.manifest.v1+json", 7 | "digest": "sha256:fa366118b986eb5a3c8c2a1cc7e4a67458b8bd152c3cb6e26f7a0b9470966178", 8 | "size": 608, 9 | "platform": { 10 | "architecture": "arm64", 11 | "os": "linux", 12 | "variant": "v8" 13 | }, 14 | "annotations": { 15 | "org.opencontainers.image.ref.name": "busybox:1.37.0-musl", 16 | "io.containerd.image.name": "busybox:1.37.0-musl" 17 | } 18 | } 19 | ] 20 | } 21 | -------------------------------------------------------------------------------- /latest/musl/arm64v8/oci-layout: -------------------------------------------------------------------------------- 1 | {"imageLayoutVersion":"1.0.0"} 2 | -------------------------------------------------------------------------------- /latest/musl/i386/blobs/sha256/3c59e5e8610ad14365d324a269fe40446b3eff5939e7565533c7a39126c87368: -------------------------------------------------------------------------------- 1 | ../../image-manifest.json -------------------------------------------------------------------------------- /latest/musl/i386/blobs/sha256/7cde2957781f3fb6a77c857cdbeaead164c8cd89f23e632942f664d9afbaca95: -------------------------------------------------------------------------------- 1 | ../../image-config.json -------------------------------------------------------------------------------- /latest/musl/i386/blobs/sha256/a48074726d84fc49c8a4275703b4264aed40a8d2e4bf184e4b2c131a3beeeff3: -------------------------------------------------------------------------------- 1 | ../../rootfs.tar.gz -------------------------------------------------------------------------------- /latest/musl/i386/image-config.json: -------------------------------------------------------------------------------- 1 | { 2 | "config": { 3 | "Cmd": [ 4 | "sh" 5 | ], 6 | "Env": [ 7 | "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" 8 | ] 9 | }, 10 | "created": "2024-09-26T21:31:42Z", 11 | "history": [ 12 | { 13 | "created": "2024-09-26T21:31:42Z", 14 | "created_by": "BusyBox 1.37.0 (musl), Alpine 3.22.0" 15 | } 16 | ], 17 | "rootfs": { 18 | "type": "layers", 19 | "diff_ids": [ 20 | "sha256:8fa280dded5d320f290ab8152c20452482121d1f18b5b97dfa54812e3de6bbac" 21 | ] 22 | }, 23 | "architecture": "386", 24 | "os": "linux" 25 | } 26 | -------------------------------------------------------------------------------- /latest/musl/i386/image-manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "schemaVersion": 2, 3 | "mediaType": "application/vnd.oci.image.manifest.v1+json", 4 | "config": { 5 | "mediaType": "application/vnd.oci.image.config.v1+json", 6 | "digest": "sha256:7cde2957781f3fb6a77c857cdbeaead164c8cd89f23e632942f664d9afbaca95", 7 | "size": 460 8 | }, 9 | "layers": [ 10 | { 11 | "mediaType": "application/vnd.oci.image.layer.v1.tar+gzip", 12 | "digest": "sha256:a48074726d84fc49c8a4275703b4264aed40a8d2e4bf184e4b2c131a3beeeff3", 13 | "size": 856859 14 | } 15 | ], 16 | "annotations": { 17 | "org.opencontainers.image.url": "https://github.com/docker-library/busybox", 18 | "org.opencontainers.image.version": "1.37.0-musl" 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /latest/musl/i386/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "schemaVersion": 2, 3 | "mediaType": "application/vnd.oci.image.index.v1+json", 4 | "manifests": [ 5 | { 6 | "mediaType": "application/vnd.oci.image.manifest.v1+json", 7 | "digest": "sha256:3c59e5e8610ad14365d324a269fe40446b3eff5939e7565533c7a39126c87368", 8 | "size": 608, 9 | "platform": { 10 | "architecture": "386", 11 | "os": "linux" 12 | }, 13 | "annotations": { 14 | "org.opencontainers.image.ref.name": "busybox:1.37.0-musl", 15 | "io.containerd.image.name": "busybox:1.37.0-musl" 16 | } 17 | } 18 | ] 19 | } 20 | -------------------------------------------------------------------------------- /latest/musl/i386/oci-layout: -------------------------------------------------------------------------------- 1 | {"imageLayoutVersion":"1.0.0"} 2 | -------------------------------------------------------------------------------- /latest/musl/ppc64le/blobs/sha256/474f666808ee5b3b06c037176084e3e32ad29fe715b1c38eab2cac3673c8be4d: -------------------------------------------------------------------------------- 1 | ../../image-manifest.json -------------------------------------------------------------------------------- /latest/musl/ppc64le/blobs/sha256/733811319b351fd65b1b5d16c9ce0f57991a6727eea8fd407dd173a0e35525ab: -------------------------------------------------------------------------------- 1 | ../../image-config.json -------------------------------------------------------------------------------- /latest/musl/ppc64le/blobs/sha256/f3f5d636887b8d56aabe29047a58ef074511f5252c722b1e476b7f79fd35fb7f: -------------------------------------------------------------------------------- 1 | ../../rootfs.tar.gz -------------------------------------------------------------------------------- /latest/musl/ppc64le/image-config.json: -------------------------------------------------------------------------------- 1 | { 2 | "config": { 3 | "Cmd": [ 4 | "sh" 5 | ], 6 | "Env": [ 7 | "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" 8 | ] 9 | }, 10 | "created": "2024-09-26T21:31:42Z", 11 | "history": [ 12 | { 13 | "created": "2024-09-26T21:31:42Z", 14 | "created_by": "BusyBox 1.37.0 (musl), Alpine 3.22.0" 15 | } 16 | ], 17 | "rootfs": { 18 | "type": "layers", 19 | "diff_ids": [ 20 | "sha256:dd12e9bb16ad291ed0a016e40c70ea4295cd439b5c4222634f9d2e245428552a" 21 | ] 22 | }, 23 | "architecture": "ppc64le", 24 | "os": "linux" 25 | } 26 | -------------------------------------------------------------------------------- /latest/musl/ppc64le/image-manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "schemaVersion": 2, 3 | "mediaType": "application/vnd.oci.image.manifest.v1+json", 4 | "config": { 5 | "mediaType": "application/vnd.oci.image.config.v1+json", 6 | "digest": "sha256:733811319b351fd65b1b5d16c9ce0f57991a6727eea8fd407dd173a0e35525ab", 7 | "size": 464 8 | }, 9 | "layers": [ 10 | { 11 | "mediaType": "application/vnd.oci.image.layer.v1.tar+gzip", 12 | "digest": "sha256:f3f5d636887b8d56aabe29047a58ef074511f5252c722b1e476b7f79fd35fb7f", 13 | "size": 943684 14 | } 15 | ], 16 | "annotations": { 17 | "org.opencontainers.image.url": "https://github.com/docker-library/busybox", 18 | "org.opencontainers.image.version": "1.37.0-musl" 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /latest/musl/ppc64le/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "schemaVersion": 2, 3 | "mediaType": "application/vnd.oci.image.index.v1+json", 4 | "manifests": [ 5 | { 6 | "mediaType": "application/vnd.oci.image.manifest.v1+json", 7 | "digest": "sha256:474f666808ee5b3b06c037176084e3e32ad29fe715b1c38eab2cac3673c8be4d", 8 | "size": 608, 9 | "platform": { 10 | "architecture": "ppc64le", 11 | "os": "linux" 12 | }, 13 | "annotations": { 14 | "org.opencontainers.image.ref.name": "busybox:1.37.0-musl", 15 | "io.containerd.image.name": "busybox:1.37.0-musl" 16 | } 17 | } 18 | ] 19 | } 20 | -------------------------------------------------------------------------------- /latest/musl/ppc64le/oci-layout: -------------------------------------------------------------------------------- 1 | {"imageLayoutVersion":"1.0.0"} 2 | -------------------------------------------------------------------------------- /latest/musl/s390x/blobs/sha256/16ed489f009ebe276c67fb9ecf5c06df32fbf4212a7c6591e42a7d937c7ee7ad: -------------------------------------------------------------------------------- 1 | ../../image-config.json -------------------------------------------------------------------------------- /latest/musl/s390x/blobs/sha256/3bd977f75e22a5e164e2e6ac3556cee55053022e9ad8bba89614e7a8680791d1: -------------------------------------------------------------------------------- 1 | ../../rootfs.tar.gz -------------------------------------------------------------------------------- /latest/musl/s390x/blobs/sha256/48124ec789014b8036ad83b3759d664e1215f5fc2e80f1c2a5e82e4f2b263406: -------------------------------------------------------------------------------- 1 | ../../image-manifest.json -------------------------------------------------------------------------------- /latest/musl/s390x/image-config.json: -------------------------------------------------------------------------------- 1 | { 2 | "config": { 3 | "Cmd": [ 4 | "sh" 5 | ], 6 | "Env": [ 7 | "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" 8 | ] 9 | }, 10 | "created": "2024-09-26T21:31:42Z", 11 | "history": [ 12 | { 13 | "created": "2024-09-26T21:31:42Z", 14 | "created_by": "BusyBox 1.37.0 (musl), Alpine 3.22.0" 15 | } 16 | ], 17 | "rootfs": { 18 | "type": "layers", 19 | "diff_ids": [ 20 | "sha256:ff7280c51f2c83ea8f34581413efd3b08f44f470c7cbc15e310d15f62fc84531" 21 | ] 22 | }, 23 | "architecture": "s390x", 24 | "os": "linux" 25 | } 26 | -------------------------------------------------------------------------------- /latest/musl/s390x/image-manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "schemaVersion": 2, 3 | "mediaType": "application/vnd.oci.image.manifest.v1+json", 4 | "config": { 5 | "mediaType": "application/vnd.oci.image.config.v1+json", 6 | "digest": "sha256:16ed489f009ebe276c67fb9ecf5c06df32fbf4212a7c6591e42a7d937c7ee7ad", 7 | "size": 462 8 | }, 9 | "layers": [ 10 | { 11 | "mediaType": "application/vnd.oci.image.layer.v1.tar+gzip", 12 | "digest": "sha256:3bd977f75e22a5e164e2e6ac3556cee55053022e9ad8bba89614e7a8680791d1", 13 | "size": 923954 14 | } 15 | ], 16 | "annotations": { 17 | "org.opencontainers.image.url": "https://github.com/docker-library/busybox", 18 | "org.opencontainers.image.version": "1.37.0-musl" 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /latest/musl/s390x/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "schemaVersion": 2, 3 | "mediaType": "application/vnd.oci.image.index.v1+json", 4 | "manifests": [ 5 | { 6 | "mediaType": "application/vnd.oci.image.manifest.v1+json", 7 | "digest": "sha256:48124ec789014b8036ad83b3759d664e1215f5fc2e80f1c2a5e82e4f2b263406", 8 | "size": 608, 9 | "platform": { 10 | "architecture": "s390x", 11 | "os": "linux" 12 | }, 13 | "annotations": { 14 | "org.opencontainers.image.ref.name": "busybox:1.37.0-musl", 15 | "io.containerd.image.name": "busybox:1.37.0-musl" 16 | } 17 | } 18 | ] 19 | } 20 | -------------------------------------------------------------------------------- /latest/musl/s390x/oci-layout: -------------------------------------------------------------------------------- 1 | {"imageLayoutVersion":"1.0.0"} 2 | -------------------------------------------------------------------------------- /latest/uclibc/Dockerfile: -------------------------------------------------------------------------------- 1 | # this isn't used for the official published images anymore, but is included for backwards compatibility 2 | # see https://github.com/docker-library/bashbrew/issues/51 3 | FROM scratch 4 | ADD busybox.tar.gz / 5 | CMD ["sh"] 6 | -------------------------------------------------------------------------------- /latest/uclibc/amd64/blobs/sha256/086517b4ab5daf82a6290ec8c1bb660d98d2a7f8733fa8fd1632bddefeb9e01d: -------------------------------------------------------------------------------- 1 | ../../rootfs.tar.gz -------------------------------------------------------------------------------- /latest/uclibc/amd64/blobs/sha256/46300c35aa557736b6fffd302205498b90b71afc0fd6ce4587cd8be0dda7b1b3: -------------------------------------------------------------------------------- 1 | ../../image-manifest.json -------------------------------------------------------------------------------- /latest/uclibc/amd64/blobs/sha256/7f65c9eee073702799c7962428b3517c6b4a9457a47a6e886b9e6f40eb868b2c: -------------------------------------------------------------------------------- 1 | ../../image-config.json -------------------------------------------------------------------------------- /latest/uclibc/amd64/image-config.json: -------------------------------------------------------------------------------- 1 | { 2 | "config": { 3 | "Cmd": [ 4 | "sh" 5 | ], 6 | "Env": [ 7 | "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" 8 | ] 9 | }, 10 | "created": "2024-09-26T21:31:42Z", 11 | "history": [ 12 | { 13 | "created": "2024-09-26T21:31:42Z", 14 | "created_by": "BusyBox 1.37.0 (uclibc), Buildroot 2025.02.3, Debian 12" 15 | } 16 | ], 17 | "rootfs": { 18 | "type": "layers", 19 | "diff_ids": [ 20 | "sha256:e351f0803693cef25e5dda57ea3c37aff7a44f40df7d27ca8b1bbbbc1115b834" 21 | ] 22 | }, 23 | "architecture": "amd64", 24 | "os": "linux" 25 | } 26 | -------------------------------------------------------------------------------- /latest/uclibc/amd64/image-manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "schemaVersion": 2, 3 | "mediaType": "application/vnd.oci.image.manifest.v1+json", 4 | "config": { 5 | "mediaType": "application/vnd.oci.image.config.v1+json", 6 | "digest": "sha256:7f65c9eee073702799c7962428b3517c6b4a9457a47a6e886b9e6f40eb868b2c", 7 | "size": 481 8 | }, 9 | "layers": [ 10 | { 11 | "mediaType": "application/vnd.oci.image.layer.v1.tar+gzip", 12 | "digest": "sha256:086517b4ab5daf82a6290ec8c1bb660d98d2a7f8733fa8fd1632bddefeb9e01d", 13 | "size": 756455 14 | } 15 | ], 16 | "annotations": { 17 | "org.opencontainers.image.url": "https://github.com/docker-library/busybox", 18 | "org.opencontainers.image.version": "1.37.0-uclibc" 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /latest/uclibc/amd64/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "schemaVersion": 2, 3 | "mediaType": "application/vnd.oci.image.index.v1+json", 4 | "manifests": [ 5 | { 6 | "mediaType": "application/vnd.oci.image.manifest.v1+json", 7 | "digest": "sha256:46300c35aa557736b6fffd302205498b90b71afc0fd6ce4587cd8be0dda7b1b3", 8 | "size": 610, 9 | "platform": { 10 | "architecture": "amd64", 11 | "os": "linux" 12 | }, 13 | "annotations": { 14 | "org.opencontainers.image.ref.name": "busybox:1.37.0-uclibc", 15 | "io.containerd.image.name": "busybox:1.37.0-uclibc" 16 | } 17 | } 18 | ] 19 | } 20 | -------------------------------------------------------------------------------- /latest/uclibc/amd64/oci-layout: -------------------------------------------------------------------------------- 1 | {"imageLayoutVersion":"1.0.0"} 2 | -------------------------------------------------------------------------------- /latest/uclibc/arm32v5/blobs/sha256/06ff5e233d5e91f832f2145be2e89ef0360c3872c700463926276075283b7c11: -------------------------------------------------------------------------------- 1 | ../../image-config.json -------------------------------------------------------------------------------- /latest/uclibc/arm32v5/blobs/sha256/2602a2a3930a59fbf3a0a453d124dc4e535b93071c2f23ef16717ea9b8a37df4: -------------------------------------------------------------------------------- 1 | ../../rootfs.tar.gz -------------------------------------------------------------------------------- /latest/uclibc/arm32v5/blobs/sha256/a2ec48a1cbd23376b4f8d54b37f0732df6fd9b428996a24bf48c149a0c130fc7: -------------------------------------------------------------------------------- 1 | ../../image-manifest.json -------------------------------------------------------------------------------- /latest/uclibc/arm32v5/image-config.json: -------------------------------------------------------------------------------- 1 | { 2 | "config": { 3 | "Cmd": [ 4 | "sh" 5 | ], 6 | "Env": [ 7 | "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" 8 | ] 9 | }, 10 | "created": "2024-09-26T21:31:42Z", 11 | "history": [ 12 | { 13 | "created": "2024-09-26T21:31:42Z", 14 | "created_by": "BusyBox 1.37.0 (uclibc), Buildroot 2025.02.3, Debian 12" 15 | } 16 | ], 17 | "rootfs": { 18 | "type": "layers", 19 | "diff_ids": [ 20 | "sha256:544217b34f9241dd6126f6ae95f1c8412b1f76955f0ac312e8e1e5c09686eb8e" 21 | ] 22 | }, 23 | "architecture": "arm", 24 | "os": "linux", 25 | "variant": "v5" 26 | } 27 | -------------------------------------------------------------------------------- /latest/uclibc/arm32v5/image-manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "schemaVersion": 2, 3 | "mediaType": "application/vnd.oci.image.manifest.v1+json", 4 | "config": { 5 | "mediaType": "application/vnd.oci.image.config.v1+json", 6 | "digest": "sha256:06ff5e233d5e91f832f2145be2e89ef0360c3872c700463926276075283b7c11", 7 | "size": 497 8 | }, 9 | "layers": [ 10 | { 11 | "mediaType": "application/vnd.oci.image.layer.v1.tar+gzip", 12 | "digest": "sha256:2602a2a3930a59fbf3a0a453d124dc4e535b93071c2f23ef16717ea9b8a37df4", 13 | "size": 746008 14 | } 15 | ], 16 | "annotations": { 17 | "org.opencontainers.image.url": "https://github.com/docker-library/busybox", 18 | "org.opencontainers.image.version": "1.37.0-uclibc" 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /latest/uclibc/arm32v5/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "schemaVersion": 2, 3 | "mediaType": "application/vnd.oci.image.index.v1+json", 4 | "manifests": [ 5 | { 6 | "mediaType": "application/vnd.oci.image.manifest.v1+json", 7 | "digest": "sha256:a2ec48a1cbd23376b4f8d54b37f0732df6fd9b428996a24bf48c149a0c130fc7", 8 | "size": 610, 9 | "platform": { 10 | "architecture": "arm", 11 | "os": "linux", 12 | "variant": "v5" 13 | }, 14 | "annotations": { 15 | "org.opencontainers.image.ref.name": "busybox:1.37.0-uclibc", 16 | "io.containerd.image.name": "busybox:1.37.0-uclibc" 17 | } 18 | } 19 | ] 20 | } 21 | -------------------------------------------------------------------------------- /latest/uclibc/arm32v5/oci-layout: -------------------------------------------------------------------------------- 1 | {"imageLayoutVersion":"1.0.0"} 2 | -------------------------------------------------------------------------------- /latest/uclibc/arm32v7/blobs/sha256/0e1179b90d4e9341e1605d691c1414fe793169afa2a14ac0235bf4d031c044c3: -------------------------------------------------------------------------------- 1 | ../../image-config.json -------------------------------------------------------------------------------- /latest/uclibc/arm32v7/blobs/sha256/716ab73530d2fff3ca0ddc4c7b89617c2e7a1109f03c2c3cdd5f6cba86155dbc: -------------------------------------------------------------------------------- 1 | ../../rootfs.tar.gz -------------------------------------------------------------------------------- /latest/uclibc/arm32v7/blobs/sha256/ef6a3791fc5987128fbe4fc9bc4dcc585ef87274b1224e008c1ec7e8d73ecd65: -------------------------------------------------------------------------------- 1 | ../../image-manifest.json -------------------------------------------------------------------------------- /latest/uclibc/arm32v7/image-config.json: -------------------------------------------------------------------------------- 1 | { 2 | "config": { 3 | "Cmd": [ 4 | "sh" 5 | ], 6 | "Env": [ 7 | "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" 8 | ] 9 | }, 10 | "created": "2024-09-26T21:31:42Z", 11 | "history": [ 12 | { 13 | "created": "2024-09-26T21:31:42Z", 14 | "created_by": "BusyBox 1.37.0 (uclibc), Buildroot 2025.02.3, Debian 12" 15 | } 16 | ], 17 | "rootfs": { 18 | "type": "layers", 19 | "diff_ids": [ 20 | "sha256:c1ef25603f626066a4344eeddb4e032757ea096fef2058db44d4ff34a36fd952" 21 | ] 22 | }, 23 | "architecture": "arm", 24 | "os": "linux", 25 | "variant": "v7" 26 | } 27 | -------------------------------------------------------------------------------- /latest/uclibc/arm32v7/image-manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "schemaVersion": 2, 3 | "mediaType": "application/vnd.oci.image.manifest.v1+json", 4 | "config": { 5 | "mediaType": "application/vnd.oci.image.config.v1+json", 6 | "digest": "sha256:0e1179b90d4e9341e1605d691c1414fe793169afa2a14ac0235bf4d031c044c3", 7 | "size": 497 8 | }, 9 | "layers": [ 10 | { 11 | "mediaType": "application/vnd.oci.image.layer.v1.tar+gzip", 12 | "digest": "sha256:716ab73530d2fff3ca0ddc4c7b89617c2e7a1109f03c2c3cdd5f6cba86155dbc", 13 | "size": 710956 14 | } 15 | ], 16 | "annotations": { 17 | "org.opencontainers.image.url": "https://github.com/docker-library/busybox", 18 | "org.opencontainers.image.version": "1.37.0-uclibc" 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /latest/uclibc/arm32v7/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "schemaVersion": 2, 3 | "mediaType": "application/vnd.oci.image.index.v1+json", 4 | "manifests": [ 5 | { 6 | "mediaType": "application/vnd.oci.image.manifest.v1+json", 7 | "digest": "sha256:ef6a3791fc5987128fbe4fc9bc4dcc585ef87274b1224e008c1ec7e8d73ecd65", 8 | "size": 610, 9 | "platform": { 10 | "architecture": "arm", 11 | "os": "linux", 12 | "variant": "v7" 13 | }, 14 | "annotations": { 15 | "org.opencontainers.image.ref.name": "busybox:1.37.0-uclibc", 16 | "io.containerd.image.name": "busybox:1.37.0-uclibc" 17 | } 18 | } 19 | ] 20 | } 21 | -------------------------------------------------------------------------------- /latest/uclibc/arm32v7/oci-layout: -------------------------------------------------------------------------------- 1 | {"imageLayoutVersion":"1.0.0"} 2 | -------------------------------------------------------------------------------- /latest/uclibc/arm64v8/blobs/sha256/4182ed714d722cbfdc5f42a5e1f9e138361984d543cc3a27c2cb06cc17f6b8fd: -------------------------------------------------------------------------------- 1 | ../../image-manifest.json -------------------------------------------------------------------------------- /latest/uclibc/arm64v8/blobs/sha256/a5756035b5f04cb8c6f68cffbb090244b83d16527bc0d12a3f52d9e7727a7e9d: -------------------------------------------------------------------------------- 1 | ../../rootfs.tar.gz -------------------------------------------------------------------------------- /latest/uclibc/arm64v8/blobs/sha256/bea9b3b61fa7bd051234f7601658c7c1dd366fa6b58b7911b356f504dd2440ad: -------------------------------------------------------------------------------- 1 | ../../image-config.json -------------------------------------------------------------------------------- /latest/uclibc/arm64v8/image-config.json: -------------------------------------------------------------------------------- 1 | { 2 | "config": { 3 | "Cmd": [ 4 | "sh" 5 | ], 6 | "Env": [ 7 | "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" 8 | ] 9 | }, 10 | "created": "2024-09-26T21:31:42Z", 11 | "history": [ 12 | { 13 | "created": "2024-09-26T21:31:42Z", 14 | "created_by": "BusyBox 1.37.0 (uclibc), Buildroot 2025.02.3, Debian 12" 15 | } 16 | ], 17 | "rootfs": { 18 | "type": "layers", 19 | "diff_ids": [ 20 | "sha256:4eb0a4ed01bbcb0dc826d3ee7234bd8f6a1f1736a5d26befeedd6329ecb678a1" 21 | ] 22 | }, 23 | "architecture": "arm64", 24 | "os": "linux", 25 | "variant": "v8" 26 | } 27 | -------------------------------------------------------------------------------- /latest/uclibc/arm64v8/image-manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "schemaVersion": 2, 3 | "mediaType": "application/vnd.oci.image.manifest.v1+json", 4 | "config": { 5 | "mediaType": "application/vnd.oci.image.config.v1+json", 6 | "digest": "sha256:bea9b3b61fa7bd051234f7601658c7c1dd366fa6b58b7911b356f504dd2440ad", 7 | "size": 499 8 | }, 9 | "layers": [ 10 | { 11 | "mediaType": "application/vnd.oci.image.layer.v1.tar+gzip", 12 | "digest": "sha256:a5756035b5f04cb8c6f68cffbb090244b83d16527bc0d12a3f52d9e7727a7e9d", 13 | "size": 811889 14 | } 15 | ], 16 | "annotations": { 17 | "org.opencontainers.image.url": "https://github.com/docker-library/busybox", 18 | "org.opencontainers.image.version": "1.37.0-uclibc" 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /latest/uclibc/arm64v8/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "schemaVersion": 2, 3 | "mediaType": "application/vnd.oci.image.index.v1+json", 4 | "manifests": [ 5 | { 6 | "mediaType": "application/vnd.oci.image.manifest.v1+json", 7 | "digest": "sha256:4182ed714d722cbfdc5f42a5e1f9e138361984d543cc3a27c2cb06cc17f6b8fd", 8 | "size": 610, 9 | "platform": { 10 | "architecture": "arm64", 11 | "os": "linux", 12 | "variant": "v8" 13 | }, 14 | "annotations": { 15 | "org.opencontainers.image.ref.name": "busybox:1.37.0-uclibc", 16 | "io.containerd.image.name": "busybox:1.37.0-uclibc" 17 | } 18 | } 19 | ] 20 | } 21 | -------------------------------------------------------------------------------- /latest/uclibc/arm64v8/oci-layout: -------------------------------------------------------------------------------- 1 | {"imageLayoutVersion":"1.0.0"} 2 | -------------------------------------------------------------------------------- /latest/uclibc/i386/blobs/sha256/06c4f3f3ef84198a9d3f3a308258dd7a0b69b36d808ad2c9173c003968df90cf: -------------------------------------------------------------------------------- 1 | ../../image-manifest.json -------------------------------------------------------------------------------- /latest/uclibc/i386/blobs/sha256/62877c52953b9a53e91f644885d9ab06b08281061fda041e35ead07ac9b85538: -------------------------------------------------------------------------------- 1 | ../../image-config.json -------------------------------------------------------------------------------- /latest/uclibc/i386/blobs/sha256/f2d1cbc8d0095908edde6f0f896d614feb89e88f8fe9286a55708523f22cb85b: -------------------------------------------------------------------------------- 1 | ../../rootfs.tar.gz -------------------------------------------------------------------------------- /latest/uclibc/i386/image-config.json: -------------------------------------------------------------------------------- 1 | { 2 | "config": { 3 | "Cmd": [ 4 | "sh" 5 | ], 6 | "Env": [ 7 | "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" 8 | ] 9 | }, 10 | "created": "2024-09-26T21:31:42Z", 11 | "history": [ 12 | { 13 | "created": "2024-09-26T21:31:42Z", 14 | "created_by": "BusyBox 1.37.0 (uclibc), Buildroot 2025.02.3, Debian 12" 15 | } 16 | ], 17 | "rootfs": { 18 | "type": "layers", 19 | "diff_ids": [ 20 | "sha256:5239821af84439de26f8eaf845c9534ec2b5a73b7bd71cd14085e802d08e3722" 21 | ] 22 | }, 23 | "architecture": "386", 24 | "os": "linux" 25 | } 26 | -------------------------------------------------------------------------------- /latest/uclibc/i386/image-manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "schemaVersion": 2, 3 | "mediaType": "application/vnd.oci.image.manifest.v1+json", 4 | "config": { 5 | "mediaType": "application/vnd.oci.image.config.v1+json", 6 | "digest": "sha256:62877c52953b9a53e91f644885d9ab06b08281061fda041e35ead07ac9b85538", 7 | "size": 479 8 | }, 9 | "layers": [ 10 | { 11 | "mediaType": "application/vnd.oci.image.layer.v1.tar+gzip", 12 | "digest": "sha256:f2d1cbc8d0095908edde6f0f896d614feb89e88f8fe9286a55708523f22cb85b", 13 | "size": 710436 14 | } 15 | ], 16 | "annotations": { 17 | "org.opencontainers.image.url": "https://github.com/docker-library/busybox", 18 | "org.opencontainers.image.version": "1.37.0-uclibc" 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /latest/uclibc/i386/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "schemaVersion": 2, 3 | "mediaType": "application/vnd.oci.image.index.v1+json", 4 | "manifests": [ 5 | { 6 | "mediaType": "application/vnd.oci.image.manifest.v1+json", 7 | "digest": "sha256:06c4f3f3ef84198a9d3f3a308258dd7a0b69b36d808ad2c9173c003968df90cf", 8 | "size": 610, 9 | "platform": { 10 | "architecture": "386", 11 | "os": "linux" 12 | }, 13 | "annotations": { 14 | "org.opencontainers.image.ref.name": "busybox:1.37.0-uclibc", 15 | "io.containerd.image.name": "busybox:1.37.0-uclibc" 16 | } 17 | } 18 | ] 19 | } 20 | -------------------------------------------------------------------------------- /latest/uclibc/i386/oci-layout: -------------------------------------------------------------------------------- 1 | {"imageLayoutVersion":"1.0.0"} 2 | -------------------------------------------------------------------------------- /latest/uclibc/mips64le/blobs/sha256/03cb704a0549a7ba94c40ead0eee20acc676c9f4c7541aa0c432c588580cd0c8: -------------------------------------------------------------------------------- 1 | ../../image-config.json -------------------------------------------------------------------------------- /latest/uclibc/mips64le/blobs/sha256/57b98e4b2e1700a64a9efb4e22f4a1321f8da41a8762dda3d4c0bf38f3403e31: -------------------------------------------------------------------------------- 1 | ../../image-manifest.json -------------------------------------------------------------------------------- /latest/uclibc/mips64le/blobs/sha256/feb951c96d4432894f68fd59907d8aa7c700ea59c9a6c1c3981a6ba82054623d: -------------------------------------------------------------------------------- 1 | ../../rootfs.tar.gz -------------------------------------------------------------------------------- /latest/uclibc/mips64le/image-config.json: -------------------------------------------------------------------------------- 1 | { 2 | "config": { 3 | "Cmd": [ 4 | "sh" 5 | ], 6 | "Env": [ 7 | "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" 8 | ] 9 | }, 10 | "created": "2024-09-26T21:31:42Z", 11 | "history": [ 12 | { 13 | "created": "2024-09-26T21:31:42Z", 14 | "created_by": "BusyBox 1.37.0 (uclibc), Buildroot 2025.02.3, Debian 12" 15 | } 16 | ], 17 | "rootfs": { 18 | "type": "layers", 19 | "diff_ids": [ 20 | "sha256:e996ca1d65732be2e8b54f92bf0a6a38b3b02c46b518af44d312dabc733eddac" 21 | ] 22 | }, 23 | "architecture": "mips64le", 24 | "os": "linux" 25 | } 26 | -------------------------------------------------------------------------------- /latest/uclibc/mips64le/image-manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "schemaVersion": 2, 3 | "mediaType": "application/vnd.oci.image.manifest.v1+json", 4 | "config": { 5 | "mediaType": "application/vnd.oci.image.config.v1+json", 6 | "digest": "sha256:03cb704a0549a7ba94c40ead0eee20acc676c9f4c7541aa0c432c588580cd0c8", 7 | "size": 484 8 | }, 9 | "layers": [ 10 | { 11 | "mediaType": "application/vnd.oci.image.layer.v1.tar+gzip", 12 | "digest": "sha256:feb951c96d4432894f68fd59907d8aa7c700ea59c9a6c1c3981a6ba82054623d", 13 | "size": 950293 14 | } 15 | ], 16 | "annotations": { 17 | "org.opencontainers.image.url": "https://github.com/docker-library/busybox", 18 | "org.opencontainers.image.version": "1.37.0-uclibc" 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /latest/uclibc/mips64le/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "schemaVersion": 2, 3 | "mediaType": "application/vnd.oci.image.index.v1+json", 4 | "manifests": [ 5 | { 6 | "mediaType": "application/vnd.oci.image.manifest.v1+json", 7 | "digest": "sha256:57b98e4b2e1700a64a9efb4e22f4a1321f8da41a8762dda3d4c0bf38f3403e31", 8 | "size": 610, 9 | "platform": { 10 | "architecture": "mips64le", 11 | "os": "linux" 12 | }, 13 | "annotations": { 14 | "org.opencontainers.image.ref.name": "busybox:1.37.0-uclibc", 15 | "io.containerd.image.name": "busybox:1.37.0-uclibc" 16 | } 17 | } 18 | ] 19 | } 20 | -------------------------------------------------------------------------------- /latest/uclibc/mips64le/oci-layout: -------------------------------------------------------------------------------- 1 | {"imageLayoutVersion":"1.0.0"} 2 | -------------------------------------------------------------------------------- /update.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | set -Eeuo pipefail 3 | 4 | cd "$(dirname "$(readlink -f "$BASH_SOURCE")")" 5 | 6 | ./versions.sh "$@" 7 | ./apply-templates.sh "$@" 8 | -------------------------------------------------------------------------------- /versions.json: -------------------------------------------------------------------------------- 1 | { 2 | "latest": { 3 | "buildroot": { 4 | "version": "2025.02.3" 5 | }, 6 | "date": "27 September 2024", 7 | "sha256": "3311dff32e746499f4df0d5df04d7eb396382d7e108bb9250e7b519b837043a4", 8 | "stability": "unstable", 9 | "variants": [ 10 | "glibc", 11 | "uclibc", 12 | "musl" 13 | ], 14 | "version": "1.37.0" 15 | }, 16 | "latest-1": { 17 | "buildroot": { 18 | "version": "2025.02.3" 19 | }, 20 | "date": "19 May 2023", 21 | "sha256": "b8cc24c9574d809e7279c3be349795c5d5ceb6fdf19ca709f80cde50e47de314", 22 | "stability": "stable", 23 | "variants": [ 24 | "glibc", 25 | "uclibc", 26 | "musl" 27 | ], 28 | "version": "1.36.1" 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /versions.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | set -Eeuo pipefail 3 | 4 | cd "$(dirname "$(readlink -f "$BASH_SOURCE")")" 5 | 6 | versions=( "$@" ) 7 | if [ "${#versions[@]}" -eq 0 ]; then 8 | versions=( */ ) 9 | json='{}' 10 | else 11 | json="$(< versions.json)" 12 | fi 13 | versions=( "${versions[@]%/}" ) 14 | 15 | busyboxVersions="$( 16 | wget -qO- 'https://busybox.net' \ 17 | | grep -oE '[0-9a-zA-Z ]+ -- BusyBox [0-9.]+ [(](un)?stable[)]' \ 18 | | jq -csR ' 19 | rtrimstr("\n") 20 | | split("\n") 21 | | map( 22 | split(" -- BusyBox ") 23 | | { 24 | version: .[1], 25 | date: .[0], 26 | } 27 | | .stability = (.version | gsub(".* [(]|[)]"; "")) 28 | | .version |= split(" ")[0] 29 | ) 30 | | sort_by(.version | split(".") | map(tonumber)) 31 | | reverse 32 | ' 33 | )" 34 | # [ 35 | # { 36 | # "version": "1.36.0", 37 | # "date": "3 January 2023", 38 | # "stability": "unstable" 39 | # }, 40 | # ... 41 | # ] 42 | 43 | buildrootVersion="$( 44 | git ls-remote --tags https://gitlab.com/buildroot.org/buildroot.git \ 45 | | cut -d/ -f3 \ 46 | | cut -d^ -f1 \ 47 | | grep -E '^[0-9]+' \ 48 | | grep -vE -- '[-_]rc' \ 49 | | sort -uV \ 50 | | tail -1 51 | )" 52 | export buildrootVersion 53 | 54 | for version in "${versions[@]}"; do 55 | export version 56 | 57 | minus="${version#latest}" 58 | minus="${minus#-}" 59 | : "${minus:=0}" 60 | majorMinor="$(jq <<<"$busyboxVersions" -cr --argjson minus "$minus" ' 61 | map(.version | split(".")[0:2] | join(".")) 62 | | unique 63 | | reverse[$minus] 64 | ')" 65 | if [ -z "$majorMinor" ]; then 66 | echo >&2 "error: failed to find '$version' release" 67 | exit 1 68 | fi 69 | doc="$(jq <<<"$busyboxVersions" -c --arg majorMinor "$majorMinor" ' 70 | map(select( 71 | .version 72 | | startswith($majorMinor + ".") 73 | ))[0] 74 | ')" 75 | 76 | fullVersion="$(jq <<<"$doc" -r '.version')" 77 | export fullVersion 78 | 79 | echo "$version: $fullVersion (buildroot $buildrootVersion)" 80 | 81 | sha256="$(wget -qO- "https://busybox.net/downloads/busybox-$fullVersion.tar.bz2.sha256" | cut -d' ' -f1)" 82 | export sha256 83 | 84 | json="$( 85 | jq <<<"$json" -c --argjson doc "$doc" ' 86 | .[env.version] = $doc + { 87 | sha256: env.sha256, 88 | buildroot: { 89 | version: env.buildrootVersion, 90 | }, 91 | # as of buildroot 2022.11, glibc is the default, so we follow suit (https://github.com/buildroot/buildroot/commit/4057e36ca9665edd5248512e4edba2c243b8f4be) 92 | # https://busybox.net/FAQ.html#libc 93 | variants: [ "glibc", "uclibc", "musl" ], 94 | # (order here determines "preference" for representing "latest") 95 | } 96 | ' 97 | )" 98 | done 99 | 100 | jq <<<"$json" -S . > versions.json 101 | --------------------------------------------------------------------------------