dagger#
This directory contains the Nix package for a pinned dev build of dagger, the CLI for Dagger.
Source: github.com/dagger/dagger
Usage#
dagger version
dagger --help
RSSBase uses Dagger's workspace/module config split:
- root
../dagger.tomlis the workspace config ../application/dagger-module.tomlis the application module config- module code lives in
../application/.dagger
From the repository root:
# Inspect workspace modules
dagger workspace
dagger installed
# List workspace entrypoints; currently this exposes the application module
dagger functions
# List and run checks declared with @check
dagger check --list
dagger check
# Build the production FrankenPHP image
dagger call application build-prod sync
# Validate Composer metadata
dagger call application composer-validate
Tip: set DAGGER_NO_NAG=1 to hide the Dagger Cloud setup prompt in local runs:
DAGGER_NO_NAG=1 dagger call application php-version
Updating#
This package follows Dagger's dev-build endpoint, but pins a concrete commit and hashes for reproducibility.
Fetch the latest dev-build checksums:
curl -fsSL https://dl.dagger.io/dagger/main/head/checksums.txt
Then update commit and the platform hashes in default.nix.