Fossil SCM

Tried to get "--with-tcl=1" working in the containerized build, but failed, so I documented the reason why it isn't going to work given our current design goals and pointed at an alternative with different tradeoffs.

wyoung 2022-11-30 12:59 trunk
Commit fb1bfce16dda5d882b30811de1283631491092cca9a64e5e4a4ae23275fc4ec9
1 file changed +10
--- www/containers.md
+++ www/containers.md
@@ -457,10 +457,20 @@
457457
```
458458
$ make container-image \
459459
DBFLAGS='--build-arg FSLCFG="--json --with-th1-docs"'
460460
```
461461
462
+If you also wanted [the Tcl evaluation extension](./th1.md#tclEval),
463
+that’s trickier because it requires the `tcl-dev` package to be
464
+installed atop Alpine Linux in the first image build stage. We don’t
465
+currently have a way to do that because it brings you to a new problem:
466
+Alpine provides only a dynamic Tcl library, which conflicts with our
467
+wish for [a static Fossil binary](#static). For those who want such a
468
+“batteries included” container, we recommend taking a look at [this
469
+alternative](https://hub.docker.com/r/duvel/fossil); needless to say,
470
+it’s inherently less secure than our stock container, but you may find
471
+the tradeoff worthwhile.
462472
463473
464474
## 6. <a id="light"></a>Lightweight Alternatives to Docker
465475
466476
Those afflicted with sticker shock at seeing the size of a [Docker
467477
--- www/containers.md
+++ www/containers.md
@@ -457,10 +457,20 @@
457 ```
458 $ make container-image \
459 DBFLAGS='--build-arg FSLCFG="--json --with-th1-docs"'
460 ```
461
 
 
 
 
 
 
 
 
 
 
462
463
464 ## 6. <a id="light"></a>Lightweight Alternatives to Docker
465
466 Those afflicted with sticker shock at seeing the size of a [Docker
467
--- www/containers.md
+++ www/containers.md
@@ -457,10 +457,20 @@
457 ```
458 $ make container-image \
459 DBFLAGS='--build-arg FSLCFG="--json --with-th1-docs"'
460 ```
461
462 If you also wanted [the Tcl evaluation extension](./th1.md#tclEval),
463 that’s trickier because it requires the `tcl-dev` package to be
464 installed atop Alpine Linux in the first image build stage. We don’t
465 currently have a way to do that because it brings you to a new problem:
466 Alpine provides only a dynamic Tcl library, which conflicts with our
467 wish for [a static Fossil binary](#static). For those who want such a
468 “batteries included” container, we recommend taking a look at [this
469 alternative](https://hub.docker.com/r/duvel/fossil); needless to say,
470 it’s inherently less secure than our stock container, but you may find
471 the tradeoff worthwhile.
472
473
474 ## 6. <a id="light"></a>Lightweight Alternatives to Docker
475
476 Those afflicted with sticker shock at seeing the size of a [Docker
477

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button