Build Fistron’s images yourself
Your policy may want every image built in your own pipeline, on your own hardened base image, from source you keep and scan. With a Business or Enterprise licence you may build Fistron’s images yourself: from Fistron’s source, with the closed core as Fistron’s signed wheels. Fistron supports what you build when it is a release’s source, unmodified, with the release’s signed core; the base image is yours.
| Plan | What you build |
|---|---|
| Business (the agent at your site) | the agent’s images: fistron and fistron-core |
| Enterprise (on-premises, air-gapped) | all three: fistron, fistron-core and fistron-control-plane |
| Team, Individual, a pilot | nothing: Fistron’s own images |
The images are layers: fistron (Fistron, the local UI, the review tools),
then fistron-core on it (the closed core), then fistron-control-plane on
fistron-core. Build them in that order.
What you get, and under which licence
Every release publishes, on https://dl.fistron.io, signed with Fistron’s
release key (SHA256SUMS and SHA256SUMS.sig):
| Where | What | Who gets it |
|---|---|---|
source/fistron/<version>/ |
Fistron’s source (fistron-source-<version>.tar.gz, the chart and the Containerfiles in it) and its SBOM |
Business, Enterprise |
source/control-plane/<version>/ |
the control plane’s source, the SBOM of its image and the list of its files (FILES.json) |
Enterprise |
core/<version>/ |
the closed core’s wheels, the list of their files and the kit of its image (fistron-core-image-<version>.tar.gz) |
every licence |
fistron/<version>/ |
the list of Fistron’s files (FILES.json) |
anyone |
The source comes under the Business Source License 1.1 of your contract: production use, but not offering Fistron to others as a competing paid service; each version becomes Apache 2.0 four years after its release. The chart is Apache 2.0. The closed core keeps its commercial licence; its source comes only with the regulated edition (below).
Every download needs your licence. To keep it off the command line, put the header in a file once:
umask 077
printf 'Authorization: Bearer %s\n' "$(tr -d ' \n' < organisation.paseto)" > ~/.fistron-dl
dl() { curl -fsSL -H @"$HOME/.fistron-dl" -O "https://dl.fistron.io/$1"; }
Without internet access, fistron-install bundle adds the source your plan
has to the air-gapped bundle (Install without internet access).
1. Download and verify
Fistron’s release key is printed in its installer. Keep it for every check:
curl -fsSL https://get.fistron.io | sed -n 's/^RELEASE_KEY="\(.*\)"$/\1/p' > release.pub
printf 'release@fistron.io namespaces="fistron-release" %s\n' "$(cat release.pub)" > allowed_signers
verify() { # verify: SHA256SUMS signed with the release key, then every file here
ssh-keygen -Y verify -f "$1" -I release@fistron.io -n fistron-release \
-s SHA256SUMS.sig < SHA256SUMS && sha256sum -c --ignore-missing SHA256SUMS
}
Each step below starts in this directory. The three parts have versions of
their own, which every release names
(Releases and security advisories); the examples use 0.5.0 for each. Then, for
Fistron’s version:
mkdir fistron-0.5.0 && cd fistron-0.5.0
for f in SHA256SUMS SHA256SUMS.sig fistron-source-0.5.0.tar.gz fistron-source-0.5.0.cdx.json; do
dl source/fistron/0.5.0/$f
done
verify ../allowed_signers && tar -xzf fistron-source-0.5.0.tar.gz
A file that differs stops it: unpack nothing then. SOURCE.json at the
archive’s root says which commit and tag it is; the SBOM lists every
dependency with its version and checksum. Inside, container/verify-release.sh
does the same check, and every image of Fistron’s has it as
fistron-verify-release.
2. Fistron’s image
In the unpacked source, give the build what it cannot download, and the release’s list of its files:
container/release/:SHA256SUMS,SHA256SUMS.sigandFILES.jsonfromdl.fistron.io/fistron/<version>/. The image keeps them, andfistron doctorcompares the installed files with them.container/tools/: kubernetes-mcp-server and actionlint, when the build has no internet access (container/tools/README.mdnames the files).
podman build -f container/Containerfile \
--build-arg PYTHON_IMAGE=registry.internal/hardened/python:3.13 \
--build-arg NODE_IMAGE=registry.internal/hardened/nodejs:22 \
--label org.opencontainers.image.version=0.5.0 \
-t registry.internal/fistron/fistron:0.5.0 .
Your Python base needs Python 3.11 or later with pip, glibc 2.28 or later
and one of zypper, dnf, microdnf, apt-get or apk; the Node.js base only
builds the UI. Python and npm packages come from PyPI and npm’s registry,
through your proxy if you have one (the build arguments every builder knows:
HTTPS_PROXY, NO_PROXY). The image runs as
any UID with a read-only root file system; container/smoke-test.sh checks
it as Fistron’s CI does.
3. The core’s image
Download the core’s Linux wheels of the release with their SHA256SUMS,
SHA256SUMS.sig and FILES.json into dist/, and its kit:
mkdir core && cd core
mkdir dist && cd dist
for f in SHA256SUMS SHA256SUMS.sig FILES.json fistron-core-image-0.5.0.tar.gz \
fistron_core-0.5.0-cp311-abi3-manylinux_2_28_x86_64.whl; do dl core/0.5.0/$f; done
verify ../../allowed_signers && tar -xzf fistron-core-image-0.5.0.tar.gz -C ..
cd ..
podman build -f container/Containerfile \
--build-arg FISTRON_IMAGE=registry.internal/fistron/fistron:0.5.0 \
-t registry.internal/fistron/fistron-core:0.5.0 .
The build verifies the wheels with Fistron’s release key before it installs anything; without a valid signature it stops. This is the agent’s image.
4. The control plane’s image (Enterprise)
mkdir control-plane && cd control-plane
for f in SHA256SUMS SHA256SUMS.sig FILES.json fistron-control-plane-source-0.5.0.tar.gz; do
dl source/control-plane/0.5.0/$f
done
verify ../allowed_signers && tar -xzf fistron-control-plane-source-0.5.0.tar.gz
cd fistron-control-plane-0.5.0
cp ../SHA256SUMS ../SHA256SUMS.sig ../FILES.json container/release/
pipx run --spec 'build>=1.2,<2' pyproject-build --wheel --outdir dist
podman build -f container/Containerfile \
--build-arg CORE_IMAGE=registry.internal/fistron/fistron-core:0.5.0 \
-t registry.internal/fistron/fistron-control-plane:0.5.0 .
CORE_IMAGE is also the agent’s image this control plane names to its
agents, so they follow your image, not Fistron’s.
5. Check what you built
podman run --rm registry.internal/fistron/fistron-control-plane:0.5.0 fistron doctor
fistron doctor compares the installed files of Fistron, the core and the
control plane with each release’s signed list, and says one of:
- supported: the release’s files, unchanged;
- not supported: modified core, or modified source, with the files named;
- unknown release: an image without the release’s list, or a core that is not a release’s.
It contacts nothing. An agent says the same in its log when it starts and on the Agents page; the control plane in its log.
6. Install from your registry
The chart takes every image from your registry (Install the control plane in your Kubernetes):
global:
imageRegistry: registry.internal
imagePullSecrets: [{name: registry-internal}]
controlPlane:
image: {repository: fistron/fistron-control-plane, tag: "0.5.0"} # or digest: sha256:...
agentRegistry: registry.internal
singleTenant: example
licence: {secretName: fistron-licence, key: licence.paseto}
agent:
image: {repository: fistron/fistron-core, tag: "0.5.0"}
The licence can come from a Secret, so GitOps needs no installer. Pin the images by digest to install exactly what you checked.
What Fistron supports
An image built from a release’s source, unmodified, with that release’s
signed core, on your base image. Report a problem with fistron doctor’s
output: a modified core or source is not supported, an unknown release
until you add the release’s list.
The regulated edition
With the regulated edition (an add-on to Enterprise) you also receive the
closed core’s source, under NDA or escrow. The core’s wheels are
reproducible: build them as fistron-core’s README says (the toolchain
pinned, the commit’s time, no build paths) and you get the checksums of
Fistron’s signed release, which proves that the binary you run comes from
the source you reviewed.