Skip to content
CAI
Software that uses CAICheck a score

ninjarobot/FSharp.Text.Docker

56.7

Adequate · 15 November 2026

345

lines of production code

F#

primary language

5

measurements over time

CAI band scale
CAI trend line
CAI lens gauges

What this system is

Features

Added usage examples for FSharp.Text.Docker

The example directory now includes sample programs demonstrating how to use the FSharp.Text.Docker library. These samples show how to generate Dockerfiles for various scenarios, including a basic Debian-based setup, a specific configuration for Paket, and a simple hello-world container with exposed ports and user settings.

example · high confidence

Expanded Dockerfile instruction support and Fable compatibility

The library now supports generating Dockerfiles with a significantly broader set of instructions, including COPY (with multi-stage build support via --from), ENTRYPOINT, VOLUME, WORKDIR, ARG, ONBUILD, LABEL, EXPOSE, ENV, ADD, STOPSIGNAL, HEALTHCHECK, and SHELL. Additionally, the codebase has been updated to target .NET 5.0 and includes conditional compilation support for Fable, allowing the library to be used in JavaScript environments.

FSharp.Text.Docker · high confidence

Initial release of FSharp.Text.Docker with type-safe Dockerfile generation

The repository has been renamed to FSharp.Text.Docker and initialized with an initial version that provides type-safe Dockerfile construction in F\#. This release adds support for core Dockerfile instructions including FROM, RUN, and CMD, allowing users to define Docker specifications using F\# types and compile them into valid Dockerfile strings. The project includes a solution file, a Makefile for building and testing, and a global.json pinning the SDK version to 9.0.\*.

(repo-wide) · high confidence

Test coverage

Added unit tests for Dockerfile instruction generation and builder composition

Added test coverage in \tests/BuilderTests.fs\ and \tests/DockerfileTests.fs\ for the F\# Dockerfile generation library. The tests verify that the \dockerfile\ computation expression builder correctly composes multi-stage builds (including \FROM\, \RUN\, \WORKDIR\, \COPY --from\, \EXPOSE\, \ENV\, and \CMD\) and that the underlying instruction printers correctly serialize Dockerfile directives such as \FROM\, \RUN\, \CMD\, \LABEL\, \EXPOSE\, \ENV\, \ADD\, \COPY\, \ENTRYPOINT\, and \VOLUME\ into their expected string representations, including handling of exec vs. shell forms, quoted arguments, and named build stages.

tests · high confidence

Dependencies

Add Paket-based example and update project dependencies

This change introduces a new example project demonstrating how to use FSharp.Text.Docker with Paket, including the necessary dependency and lock files. It also updates the main library project to explicitly reference System.Text.Json version 6.0.10 and FSharp.Core version 5.0.0 for the netstandard2.0 target, and updates the test project to use .NET 9.0 along with xunit v3. The example project has been renamed and now references the library via a project reference instead of the FParsec package.

(dependencies) · high confidence

Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.

How this codebase got here

Score

  • CAI 54 → 57 (+2.4)
  • Rubric changed (rubric-2026.10.5 → rubric-2026.11.4) — scores are not directly comparable.

Lenses

  • Code Health 93 → 92 (-1.1)
  • Architecture 97 → 96 (-0.9)
  • Maturity 41 → 52 (+11.0)
  • Readiness 57 → 59 (+2.2)
  • Security 57 → 49 (-8.5)

Resolved (7)

  • End-of-life runtime: .NET netcoreapp2.0 (example/FSharp.Text.Docker.Example.fsproj)
  • IL efficiency: 1 authored method(s) exceed the IL budget (src/Dockerfile.fs)
  • Orphaned file (src/Dockerfile.fs)
  • Orphaned files with no living knowledge
  • Outdated: xunit.runner.visualstudio
  • Outdated: xunit.v3
  • Test reliability not measured — test suite did not build

New (2)

  • End-of-life runtime: .NET netcoreapp2.0 (example/FSharp.Text.Docker.Example.fsproj)
  • End-of-life runtime: .NET netcoreapp2.0 (example/using_paket/using_paket.fsproj)

Changes since last survey

  • 1 commits — 1 feature/other, 0 fixes

By area

  • .github/workflows — 1 commit

Notable commits

  • change: Update to 10.0.403 SDK, lock GH actions

Architecture

  • Unchanged — 0 containers · 1 contexts · 0 edges

Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.

Survey your own repository

ninjarobot/FSharp.Text.Docker was measured the same way every project in this corpus was: the same rubric, at a pinned commit, with the result published in full. Point a surveyor at a repository you know and see whether you agree with it.

About this page

  • The score is its most recent published measurement, taken on 15 November 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
  • Measured at commit 037c27baa5be3e83ee4993a76cb3bd3da7f0aa67 — the exact code this score is about.
  • Scored under rubric-2026.11.4 — the same rubric and the same method as every other entry in this index.
  • Measured by Canine Code Analyzer (cca.canine.dev) using cca measure-2026.11.65+preprod-3c33c1882dc1.