Fossil SCM
Updated the container size info in the Fossil v Git doc to track recent developments.
Commit
283b1a4201ed5d436816979c620b0117b2f76baeae6a881a92afd821ca87ad85
Parent
ddcdc6f30bbc1e8…
1 file changed
+7
-12
+7
-12
| --- www/fossil-v-git.wiki | ||
| +++ www/fossil-v-git.wiki | ||
| @@ -181,22 +181,17 @@ | ||
| 181 | 181 | This policy is particularly useful when running Fossil inside a |
| 182 | 182 | restrictive container, anything from [./chroot.md | classic chroot |
| 183 | 183 | jails] to modern [https://en.wikipedia.org/wiki/OS-level_virtualization |
| 184 | 184 | | OS-level virtualization mechanisms] such as |
| 185 | 185 | [https://en.wikipedia.org/wiki/Docker_(software) | Docker]. |
| 186 | -Our [/file?name=Dockerfile.in&ci=trunk | stock <tt>Dockerfile</tt>] | |
| 187 | -creates a ~4 MiB [https://opencontainers.org | OCI] image on 64-bit Linux, including | |
| 188 | -a capable [https://www.busybox.net/ | Busybox] environment for live | |
| 189 | -diagnostics of the running container. | |
| 190 | - | |
| 191 | -Modern Linux systems tend to make full static linking | |
| 192 | -[https://stackoverflow.com/questions/3430400/linux-static-linking-is-dead | |
| 193 | -| difficult], but our official executables do statically link to OpenSSL | |
| 194 | -to remove a version dependency, resulting in an executable that's around | |
| 195 | -6 MiB, depending on the platform. ([Release Build How-To | Details].) | |
| 196 | -The result is dependent only upon widespread platform libraries with | |
| 197 | -stable ABIs such as glibc, zlib, etc. | |
| 186 | +Our [./containers.md | stock container image] is under 8 MB when | |
| 187 | +uncompressed and running. It contains nothing but a single | |
| 188 | +statically-linked binary. | |
| 189 | + | |
| 190 | +If you build a dynamically linked binary instead, Fossil's on-disk size | |
| 191 | +drops to around 6 MB, and it's dependent only on widespread | |
| 192 | +platform libraries with stable ABIs such as glibc, zlib, and openssl. | |
| 198 | 193 | |
| 199 | 194 | Full static linking is easier on Windows, so our precompiled Windows |
| 200 | 195 | binaries are just a ZIP archive |
| 201 | 196 | containing only "<tt>fossil.exe</tt>". There is no "<tt>setup.exe</tt>" |
| 202 | 197 | to run. |
| 203 | 198 |
| --- www/fossil-v-git.wiki | |
| +++ www/fossil-v-git.wiki | |
| @@ -181,22 +181,17 @@ | |
| 181 | This policy is particularly useful when running Fossil inside a |
| 182 | restrictive container, anything from [./chroot.md | classic chroot |
| 183 | jails] to modern [https://en.wikipedia.org/wiki/OS-level_virtualization |
| 184 | | OS-level virtualization mechanisms] such as |
| 185 | [https://en.wikipedia.org/wiki/Docker_(software) | Docker]. |
| 186 | Our [/file?name=Dockerfile.in&ci=trunk | stock <tt>Dockerfile</tt>] |
| 187 | creates a ~4 MiB [https://opencontainers.org | OCI] image on 64-bit Linux, including |
| 188 | a capable [https://www.busybox.net/ | Busybox] environment for live |
| 189 | diagnostics of the running container. |
| 190 | |
| 191 | Modern Linux systems tend to make full static linking |
| 192 | [https://stackoverflow.com/questions/3430400/linux-static-linking-is-dead |
| 193 | | difficult], but our official executables do statically link to OpenSSL |
| 194 | to remove a version dependency, resulting in an executable that's around |
| 195 | 6 MiB, depending on the platform. ([Release Build How-To | Details].) |
| 196 | The result is dependent only upon widespread platform libraries with |
| 197 | stable ABIs such as glibc, zlib, etc. |
| 198 | |
| 199 | Full static linking is easier on Windows, so our precompiled Windows |
| 200 | binaries are just a ZIP archive |
| 201 | containing only "<tt>fossil.exe</tt>". There is no "<tt>setup.exe</tt>" |
| 202 | to run. |
| 203 |
| --- www/fossil-v-git.wiki | |
| +++ www/fossil-v-git.wiki | |
| @@ -181,22 +181,17 @@ | |
| 181 | This policy is particularly useful when running Fossil inside a |
| 182 | restrictive container, anything from [./chroot.md | classic chroot |
| 183 | jails] to modern [https://en.wikipedia.org/wiki/OS-level_virtualization |
| 184 | | OS-level virtualization mechanisms] such as |
| 185 | [https://en.wikipedia.org/wiki/Docker_(software) | Docker]. |
| 186 | Our [./containers.md | stock container image] is under 8 MB when |
| 187 | uncompressed and running. It contains nothing but a single |
| 188 | statically-linked binary. |
| 189 | |
| 190 | If you build a dynamically linked binary instead, Fossil's on-disk size |
| 191 | drops to around 6 MB, and it's dependent only on widespread |
| 192 | platform libraries with stable ABIs such as glibc, zlib, and openssl. |
| 193 | |
| 194 | Full static linking is easier on Windows, so our precompiled Windows |
| 195 | binaries are just a ZIP archive |
| 196 | containing only "<tt>fossil.exe</tt>". There is no "<tt>setup.exe</tt>" |
| 197 | to run. |
| 198 |