Imagesuptimesebi-checker, uptimesebi-statuspage — linux/amd64, linux/arm64, linux/arm/v7, linux/arm/v6 (Raspberry Pi Zero/1 up to servers), no Windows/macOS.
FROM scratch, one layer: /usr/local/bin/<agent>, /var/lib/uptimesebi (volume, owned by 65532, also HOME), /tmp. User 65532:65532, OCI labels, exposed port.
HEALTHCHECK runs the new checker health / statuspage health subcommands (probe /healthz on the configured listen address; no shell in the image).
Status page image sets UPTIME_STATUSPAGE_CACHE_DIR=/var/lib/uptimesebi.
Binaries embed time/tzdata and x509roots/fallback (used only when the host has no roots) — nothing in a base image to keep up to date.
tools/image (go-containerregistry, no Docker, no emulation): builds the OCI index from dist/<platform>/<binary>, reproducible (-created = commit time), pushes with channel tags — edge + dated build tag from main, beta from prereleases, X.Y.Z, X.Y, stable, latest from releases; -suffix for the autoupdate variant (#129). Tested against an in-memory registry, including that an arm/v6 client pulls its own binary.
CI: the build job now cross-compiles all four platforms with version/commit injected (the commit date makes the build version the same in every job) and builds both agent images; pushed from main/tags with PACKAGE_TOKEN. Release tarballs for all four platforms.
Checked by hand with Docker 29: pushed to a local registry, ran the checker image against the dev API on :8080 (connected, healthy, docker exec … checker health OK) and the status page image with a named volume (healthy, /readyz 200, cache written as 65532). ARM images could not be executed here (no QEMU binfmt); their contents and platform selection are covered by the tests.
Image digests in the signed release metadata (comment on #128) follow with the release flow once #132 is in.
**Images** `uptimesebi-checker`, `uptimesebi-statuspage` — linux/amd64, linux/arm64, linux/arm/v7, linux/arm/v6 (Raspberry Pi Zero/1 up to servers), no Windows/macOS.
- FROM scratch, one layer: `/usr/local/bin/<agent>`, `/var/lib/uptimesebi` (volume, owned by 65532, also `HOME`), `/tmp`. User `65532:65532`, OCI labels, exposed port.
- `HEALTHCHECK` runs the new `checker health` / `statuspage health` subcommands (probe `/healthz` on the configured listen address; no shell in the image).
- Status page image sets `UPTIME_STATUSPAGE_CACHE_DIR=/var/lib/uptimesebi`.
- Binaries embed `time/tzdata` and `x509roots/fallback` (used only when the host has no roots) — nothing in a base image to keep up to date.
**tools/image** (go-containerregistry, no Docker, no emulation): builds the OCI index from `dist/<platform>/<binary>`, reproducible (`-created` = commit time), pushes with channel tags — `edge` + dated build tag from main, `beta` from prereleases, `X.Y.Z`, `X.Y`, `stable`, `latest` from releases; `-suffix` for the autoupdate variant (#129). Tested against an in-memory registry, including that an arm/v6 client pulls its own binary.
**CI**: the build job now cross-compiles all four platforms with version/commit injected (the commit date makes the build version the same in every job) and builds both agent images; pushed from main/tags with `PACKAGE_TOKEN`. **Release** tarballs for all four platforms.
**Checked by hand** with Docker 29: pushed to a local registry, ran the checker image against the dev API on :8080 (connected, `healthy`, `docker exec … checker health` OK) and the status page image with a named volume (`healthy`, `/readyz` 200, cache written as 65532). ARM images could not be executed here (no QEMU binfmt); their contents and platform selection are covered by the tests.
Image digests in the signed release metadata (comment on #128) follow with the release flow once #132 is in.
Refs #128
🤖 Generated with [Claude Code](https://claude.com/claude-code)
https://claude.ai/code/session_017GpWAskjmYtZpuQ5JwYTX3
uptimesebi-checker and uptimesebi-statuspage for linux/amd64, arm64,
arm/v7 and arm/v6, from a Raspberry Pi Zero to servers. tools/image
assembles them from the cross-compiled binaries without Docker or
emulation: one layer on an empty base with the binary, a data volume
owned by the unprivileged user and a HEALTHCHECK running the new
`checker health` / `statuspage health` commands. The binaries embed time
zone data and fallback CA roots, so no base image ever needs updating.
CI pushes them with the same channel tags as the main image; releases
carry tarballs for all four platforms.
Refs #128
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017GpWAskjmYtZpuQ5JwYTX3
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Images
uptimesebi-checker,uptimesebi-statuspage— linux/amd64, linux/arm64, linux/arm/v7, linux/arm/v6 (Raspberry Pi Zero/1 up to servers), no Windows/macOS./usr/local/bin/<agent>,/var/lib/uptimesebi(volume, owned by 65532, alsoHOME),/tmp. User65532:65532, OCI labels, exposed port.HEALTHCHECKruns the newchecker health/statuspage healthsubcommands (probe/healthzon the configured listen address; no shell in the image).UPTIME_STATUSPAGE_CACHE_DIR=/var/lib/uptimesebi.time/tzdataandx509roots/fallback(used only when the host has no roots) — nothing in a base image to keep up to date.tools/image (go-containerregistry, no Docker, no emulation): builds the OCI index from
dist/<platform>/<binary>, reproducible (-created= commit time), pushes with channel tags —edge+ dated build tag from main,betafrom prereleases,X.Y.Z,X.Y,stable,latestfrom releases;-suffixfor the autoupdate variant (#129). Tested against an in-memory registry, including that an arm/v6 client pulls its own binary.CI: the build job now cross-compiles all four platforms with version/commit injected (the commit date makes the build version the same in every job) and builds both agent images; pushed from main/tags with
PACKAGE_TOKEN. Release tarballs for all four platforms.Checked by hand with Docker 29: pushed to a local registry, ran the checker image against the dev API on :8080 (connected,
healthy,docker exec … checker healthOK) and the status page image with a named volume (healthy,/readyz200, cache written as 65532). ARM images could not be executed here (no QEMU binfmt); their contents and platform selection are covered by the tests.Image digests in the signed release metadata (comment on #128) follow with the release flow once #132 is in.
Refs #128
🤖 Generated with Claude Code
https://claude.ai/code/session_017GpWAskjmYtZpuQ5JwYTX3
Merged into main as part of #134, which contains this branch.
Pull request closed