Skip to content

fix: include CA certificates in scratch runtime image#36

Merged
skgbafa merged 1 commit intomainfrom
fix/docker-ca-certs
Mar 13, 2026
Merged

fix: include CA certificates in scratch runtime image#36
skgbafa merged 1 commit intomainfrom
fix/docker-ca-certs

Conversation

@skgbafa
Copy link
Copy Markdown
Contributor

@skgbafa skgbafa commented Mar 12, 2026

Summary

  • Copy CA certificate bundle from Alpine builder stage into the scratch runtime image
  • Fixes no CA certificates found panic when connecting to external HTTPS services (Neon Postgres, Hetzner S3) in dstack/Phala deployments

Test plan

  • Merge and wait for CI to build new :dstack image
  • Redeploy to Phala CVM
  • Verify /info endpoint responds

The scratch-based Docker image has no CA certificate bundle, causing
`no CA certificates found` panics when making HTTPS connections to
external services (Neon Postgres, Hetzner S3). Copy the cert bundle
from the Alpine builder stage.
@skgbafa skgbafa merged commit fd6c4df into main Mar 13, 2026
14 checks passed
@skgbafa skgbafa deleted the fix/docker-ca-certs branch March 13, 2026 18:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant