Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Fixed a problem in image naming in the new Docker container doc in build.wiki reported on the forum. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
509447a2d7cf4181b186d0a341678e5c |
User & Date: | wyoung 2022-08-06 20:30:50 |
Context
2022-08-06
| ||
22:08 | Typo fix ... (check-in: b628a883 user: wyoung tags: trunk) | |
20:30 | Fixed a problem in image naming in the new Docker container doc in build.wiki reported on the forum. ... (check-in: 509447a2 user: wyoung tags: trunk) | |
19:56 | Did away with the temporary src.tar.gz file in the new Docker container by streaming the output of wget straight into tar's stdin. This cuts the build time by about five seconds, presumably due to the saving from unnecessary file I/O. Also replaced the explicit "cd src" afterward with an out-of-tree build configuration, since it doesn't matter if we clutter the first stage's /tmp dir. ... (check-in: 289c9b50 user: wyoung tags: trunk) | |
Changes
Changes to www/build.wiki.
︙ | ︙ | |||
311 312 313 314 315 316 317 | Busybox — we throw all the rest of it away. A secondary benefit falls out of this process for free: it's arguably the easiest way to build a purely static Fossil binary for Linux. Most modern Linux distros make this surprisingly difficult, but Alpine's back-to-basics nature makes static builds work the way they used to, back in the day. If that's what you're after, you can skip the "run" | > | | | | < | 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 | Busybox — we throw all the rest of it away. A secondary benefit falls out of this process for free: it's arguably the easiest way to build a purely static Fossil binary for Linux. Most modern Linux distros make this surprisingly difficult, but Alpine's back-to-basics nature makes static builds work the way they used to, back in the day. If that's what you're after, you can skip the "run" command above and create a tmporary container from the image, then extract the executable from it instead: <pre><code> $ docker create --name fossil-static-tmp fossil $ docker cp fossil-static-tmp:/jail/bin/fossil . $ docker container rm fossil-static-tmp </code></pre> The resulting binary is the single largest file inside that container, at about 6 MiB. (It's built stripped.) <h2>6.0 Building on/for Android</h2> |
︙ | ︙ |