Osprey worker image #
Container images for the Osprey rule-evaluation worker,
with dependencies installed at build time so startup works without package downloads.
The supported platform is linux/amd64.
Use the image #
Images are published to ghcr.io/comail-atproto/osprey-worker with a
build-<commit> tag. Choose a version from the
package page
and pin its sha256 digest in your deployment configuration.
The image contains the worker and its dependencies. Supply your own rules, configuration and services using the upstream documentation. Check those integrations before upgrading; the image smoke test covers startup only.
Build locally #
Install Docker Engine with Buildx, then run:
git clone --recurse-submodules https://github.com/comail-atproto/osprey-worker.git
cd osprey-worker
export BUILD_REVISION="$(git rev-parse HEAD)"
export UPSTREAM_REVISION="$(git -C upstream rev-parse HEAD)"
export IMAGE=osprey-worker:local
export UPSTREAM_DOCKERFILE="$(cat upstream/osprey_worker/Dockerfile)"
docker buildx bake --load worker
bash scripts/smoke-test.sh "$IMAGE"
The test checks the image's architecture and source revisions, then starts the worker CLI with networking disabled to catch missing startup dependencies.
How it is built #
upstream/pins the original application source as a Git submodule.Dockerfile.pythonpins the Python base image by digest.docker-bake.hclbuilds the pinned upstream recipe with the SSH client in place of the server package. It rejects unexpected changes to that install line.Dockerfileprepares the workspace packages and enables offline package resolution.
Dependabot proposes weekly updates to the source, base image and GitHub Actions. Its pull requests are approved and merged automatically after all required checks pass. Before publishing, a fresh job restores the tested image and repeats the offline startup check. Each release records its source revisions, build inputs and a GitHub build attestation.
See CONTRIBUTING.md for checks and release setup.
License #
This packaging is under Apache-2.0. The pinned upstream source includes Osprey's copyright and Apache-2.0 license.