Differences From Artifact [3b9044a2a4]:
- File auto.def — part of check-in [b0c9c26a9c] at 2022-09-04 23:46:56 on branch trunk — Renamed Dockerfile.in back to Dockerfile so it can be used as-is on non-autosetup systems. Realized that we can pass the Fossil checkin hash prefix in as a build arg instead of regenerating the file on disk from auto.def. If you use the Dockerfile as-shipped, you get a "trunk" build, which risks a stale cache — it thinks it already has a tarball by that name and helpfully refuses to pull it again — but at least Windows users get *something* without hand-hacking the file. (user: wyoung size: 28988) [more...]
To Artifact [52e160541c]:
- File auto.def — part of check-in [ec8ef573b3] at 2023-01-17 05:28:37 on branch trunk — Generating the /etc/os-release file for the OCI container using autosetup at configure time rather than from a build arg in the Dockerfile at image creation time. This lets us back out the use of heredocs in the Dockerfile, which isn't supported in Podman at all as of this writing and under Docker requires use of BuildKit rather than the legacy "docker build" mechanism. The primary consequence of doing it this way is that the Fossil version number in that generated file becomes the configure-time version, unconditionally. The old way let you override the FSLVER variable at image build time and have that value put into the os-release file. Under this new scheme, you now have to run "/jail/bin/fossil version" to find out what version of Fossil got baked into the image. (user: wyoung size: 29027) [more...]
| ︙ | |||
771 772 773 774 775 776 777 778 779 780 | 771 772 773 774 775 776 777 778 779 780 781 | + |
# of Fossil each one contains. This not only allows multiple images
# to coexist and multiple containers to be created unamgiguosly from
# them, it also changes the URL we fetch the source tarball from, so
# repeated builds of a given version generate and fetch the source
# tarball once only, keeping it in the local Docker/Podman cache.
set ci [readfile "$::autosetup(srcdir)/manifest.uuid"]
define FOSSIL_CI_PFX [string range $ci 0 11]
make-template containers/os-release.in
make-template Makefile.in
make-config-header autoconfig.h -auto {USE_* FOSSIL_*}
|