Command line
The entrepot binary (the server image’s entrypoint) has a few subcommands.
All of them read the configuration from -config <file> or ENTREPOT_CONFIG,
plus ENTREPOT_* environment overrides.
| Command | What it does |
|---|---|
entrepot serve |
Run the server: UI, API, package endpoints and background work. The default when no command is given. |
entrepot migrate |
Apply database migrations and exit. |
entrepot gc |
Garbage-collect unreferenced blobs (older than the one-hour grace period) and exit. |
entrepot scan-worker [-health-addr :8081] |
Run only the scanning pipeline — workers, rescan scheduler and lease reaper — with no HTTP API. Serves /healthz and /readyz on -health-addr (or ENTREPOT_SCAN_WORKER_ADDR). Runs scan.workers workers (at least one). |
entrepot check-config |
Validate the configuration and print it, secrets redacted. |
entrepot version |
Print the version. |
docker run --rm -v $PWD/config.yaml:/etc/entrepot/config.yaml:ro \ ghcr.io/entrepotproj/entrepot check-config -config /etc/entrepot/config.yamlImages
Section titled “Images”| Image | Contents |
|---|---|
ghcr.io/entrepotproj/entrepot |
distroless, non-root (UID 65532), the entrepot binary; CMD ["serve"], port 8080, /data for file blob stores |
ghcr.io/entrepotproj/entrepot-scanner |
Debian slim with checksum-verified trivy and grype; CMD ["scan-worker"] |
Build them from the server repository:
docker build -t entrepot .docker build --target scanner -t entrepot-scanner .