Install company CA certificates into the sandbox Debian store #6

Merged
mathieu merged 1 commit from lain/custom-ca-certificates-20261102144655 into main 2026-11-02 13:54:50 +00:00
Collaborator

Adds a ca_certificates list to dash.yaml. Each PEM file is mounted read-only into /usr/local/share/ca-certificates in the sandbox, and the entrypoint runs sudo update-ca-certificates at start, so the Debian store and the bundle used by curl, git, Go, Python and Node's system CAs trust it.

  • Missing or relative paths fail the run.
  • Nothing is written back to the host.
  • Documented in README and examples; the default template lists it commented out.

Verified: gofmt, go vet, go test ./internal/... and bash -n on the entrypoint, plus unit tests for mount paths and errors.
Not verified: a real image build and install inside a container (no dash image on this host, limited disk).

Adds a `ca_certificates` list to dash.yaml. Each PEM file is mounted read-only into /usr/local/share/ca-certificates in the sandbox, and the entrypoint runs `sudo update-ca-certificates` at start, so the Debian store and the bundle used by curl, git, Go, Python and Node's system CAs trust it. - Missing or relative paths fail the run. - Nothing is written back to the host. - Documented in README and examples; the default template lists it commented out. Verified: gofmt, go vet, go test ./internal/... and bash -n on the entrypoint, plus unit tests for mount paths and errors. Not verified: a real image build and install inside a container (no dash image on this host, limited disk).
Install company CA certificates into the sandbox Debian store
All checks were successful
ci / test (pull_request) Successful in 1m10s
eaa8ceddbf
mathieu deleted branch lain/custom-ca-certificates-20261102144655 2026-11-02 13:54:50 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
mathieu/dash!6
No description provided.