Images and binaries
FlowCatalyst ships four runnable things: the fc-server image for production, the ingestor runtime
image, fcdev for local development, and an fcdev image that holds only the outbox poller. Each has a
release workflow in the repository that publishes it; build from the repository if you need a commit that
has not been released. Whether a given tag is on GHCR, and public, is not something the repository shows: a package
first pushed is private until its owner changes that.
| Artifact | What it is | How you get it |
|---|---|---|
fc-server image |
The production server: every platform subsystem in one static Go binary, with the console and the SQL migrations embedded | ghcr.io/flowcatalyst/fc-server:X.Y.Z and :latest (linux/amd64 and linux/arm64), published with each fcdev release and tagged with the same version, or build from the repository’s Dockerfile |
| Ingestor image | The Java ingestor runtime (ingestion and JVM functions) | ghcr.io/flowcatalyst/ingestor:X.Y.Z and :latest (linux/amd64 and linux/arm64), published with each ingestor/vX.Y.Z tag; the fat jar is on the same GitHub Release. Or build from ingestor/Dockerfile after building the jar |
fcdev |
Local development: all subsystems plus an embedded PostgreSQL in one binary | GitHub releases, fcdev/vX.Y.Z (current: v0.36.0) |
fcdev image |
The fcdev binary alone, to run fcdev outbox (the outbox relay) beside an application whose own image has no fcdev, such as a PHP or TypeScript application |
ghcr.io/flowcatalyst/fcdev:X.Y.Z and :latest (linux/amd64 and linux/arm64), pushed by a workflow that runs on each fcdev/vX.Y.Z tag, or build from Dockerfile.fcdev |
The fc-server image
Section titled “The fc-server image”The Dockerfile is a two-stage build, with no Node:
- Binary.
golang:1.27-alpinebuilds./cmd/fc-serverwithCGO_ENABLED=0,-trimpathand stripped symbols, cross-compiled on the build host’s platform so a multi-architecture build does not run the Go compiler under emulation. The console assets and the SQL migrations are embedded withgo:embed, so the binary is the whole application. The build argumentVERSIONis stamped into the binary. - Runtime.
alpine:3.24withca-certificates(outbound TLS to SQS, Secrets Manager, webhooks and identity providers) andwget(for the health check).
What the runtime image does:
| Property | Value |
|---|---|
| User | flowcatalyst, uid 10001 (not root) |
| Entry point | /usr/local/bin/fc-server (no arguments; all configuration is environment) |
| Ports | 8080 (API and console), 9090 (Prometheus metrics) |
| Health check | wget GET http://127.0.0.1:8080/health every 30 s, 3 s timeout, 20 s start period |
| Start-up | Connects to PostgreSQL, applies migrations, seeds built-in roles and permissions, then serves. A process with no database-backed subsystem skips all three |
Pull a release, or build it yourself. A package first pushed to GHCR is private until the owner makes it public, so a pull may need docker login ghcr.io with a token that has read:packages:
docker pull ghcr.io/flowcatalyst/fc-server:X.Y.ZBuild it:
docker build -t flowcatalyst/fc-server:$(git rev-parse --short HEAD) \ --build-arg VERSION=$(git rev-parse --short HEAD) .GET /health answers {"status":"UP","version":"<VERSION>"}, so you can always tell which build a
process runs. A released image reports its release version (the fcdev tag, for example 0.18.0); for an
image you build, use the commit as the version (see
upgrades).
Writable paths. The image’s root file system can be read-only, with two exceptions to plan for:
- The function runner caches artifacts under the user’s cache directory
(
/home/flowcatalyst/.cache/flowcatalyst/functions); setFC_FUNCTIONS_CACHE_DIRto a writable volume when you run the runner with a read-only root. - A
file://function artifact store needs a writable, shared volume; the built-in fallback path/var/lib/flowcatalyst/...does not exist in the image. See requirements.
CPU and memory tuning is automatic. Under a CPU limit of one CPU or less, the binary sets
GOMAXPROCS=1; with the router or scheduler enabled it raises the GC target to 200 and sets a soft
memory limit at 90 % of the container’s memory limit. Setting GOMAXPROCS, GOGC, GOMEMLIMIT or
FC_GC_PERCENT yourself overrides this. See scaling.
Architectures. The build is pure Go, so docker buildx build --platform linux/amd64,linux/arm64
produces both without changes.
The ingestor image
Section titled “The ingestor image”The published image is ghcr.io/flowcatalyst/ingestor:X.Y.Z. ingestor/Dockerfile packages a jar, so to build the image yourself build the jar first:
cd ingestor./mvnw -B -DskipTests package # needs JDK 25 and the framework packagesdocker build -t flowcatalyst/ingestor:$(cat VERSION) .| Property | Value |
|---|---|
| Base | eclipse-temurin:25-jre |
| User | ingestor, a system user; /app (jar and config) and /opt/ingestor/extensions are owned by root and read-only to it |
| Port | 8091 (HTTP ingestions, JVM functions, /health/live, /health/ready) |
APP_ENV |
production: a platform on plain http and sources on loopback addresses are refused |
| JVM flags | -XX:MaxRAMPercentage=75, -XX:+ExitOnOutOfMemoryError (the orchestrator restarts a healthy process instead of a thread dying), -XX:+UseCompactObjectHeaders |
| Config | config/application.yaml in the image; every key can be overridden by an environment variable (see ingestor fleet) |
Extensions (jars that add source kinds) are added one of three ways: mount them read-only into
/opt/ingestor/extensions, build your own image FROM this one that copies them in as root, or set
INGEST_EXTENSIONS_MANIFEST=s3://bucket/key to a manifest that pins jars by SHA-256. The manifest and
a non-empty extensions directory are mutually exclusive.
Release status. make release-ingestor tags ingestor/vX.Y.Z, and the release workflow
(ingestor-release.yml) then publishes the jar on GitHub and pushes ghcr.io/flowcatalyst/ingestor:X.Y.Z
and :latest. The workflow is not switched off, and the repository has ingestor release tags (the latest
is ingestor/v0.3.0). The separate workflow that splits the ingestor into its own repository is off unless
SPLIT_INGESTOR is set. The workflow needs a token that can read the framework’s packages. Whether the images
are on GHCR is not something the repository shows; if a pull fails, build the image yourself as above.
The fcdev image
Section titled “The fcdev image”ghcr.io/flowcatalyst/fcdev exists for one job: running fcdev outbox, the relay that reads an
application’s outbox table and sends the rows to the platform, in a container next to an application whose
own image has no fcdev. It is the fcdev binary on Alpine with ca-certificates, run as a non-root user
(uid 10001), with fcdev as the entry point, so the container’s arguments are the subcommand:
docker run \ -e FC_OUTBOX_SOURCE_DB_URL=postgresql://app@db.example.com/orders \ -e FC_OUTBOX_PLATFORM_URL=https://platform.example.com \ -e FC_OUTBOX_CLIENT_ID=... -e FC_OUTBOX_CLIENT_SECRET=... \ ghcr.io/flowcatalyst/fcdev:X.Y.Z outboxThe binary is at /usr/local/bin/fcdev; the image has no wget, so a container health check runs
fcdev outbox health instead (see the outbox processor).
It is not a way to run the local development stack. Go applications built on the framework carry
fcdev in their own images and do not need this one.
fcdev is the local development binary: the same subsystems as fc-server plus an embedded
PostgreSQL, the ingestor runtime as a child process, and developer conveniences. It is not a
production server. Releases are on the repository’s GitHub releases page, tagged fcdev/vX.Y.Z, for
darwin-arm64, darwin-amd64, linux-amd64, linux-arm64 and windows-amd64. See
install fcdev.
Verifying what you deploy
Section titled “Verifying what you deploy”fcdev archives carry a .sha256 sidecar, and the Linux archives are also signed with Sigstore
cosign (keyless, bound to the GitHub Actions run that built them and recorded in the Rekor log):
shasum -a 256 -c "fcdev-v${VERSION}-${TARGET}.tar.gz.sha256"
cosign verify-blob \ --signature "fcdev-v${VERSION}-${TARGET}.tar.gz.sig" \ --certificate "fcdev-v${VERSION}-${TARGET}.tar.gz.pem" \ --certificate-identity-regexp '^https://github.com/flowcatalyst/flowcatalyst(-go)?/\.github/workflows/release-fcdev\.yml@refs/tags/fcdev/v' \ --certificate-oidc-issuer 'https://token.actions.githubusercontent.com' \ "fcdev-v${VERSION}-${TARGET}.tar.gz"macOS and Windows archives are not code-signed.
Images you build are your own artifacts, so their provenance is yours to establish. A reasonable baseline:
- Build from a tagged or reviewed commit, and stamp it as
VERSION. - Pin the base images by digest in your copy of the Dockerfiles if your policy requires it.
- Scan the image and sign it (cosign or your registry’s signing) in your pipeline; admit only signed images to production.
- Keep the build context clean:
.dockerignorealready excludes.envfiles,node_modules, local binaries and.git.
Read next
Section titled “Read next”- Deployment topologies: which roles to run from the image.
- Upgrades and compatibility: moving from one build to the next.
- Packages and versions: every release line and its current version.