Commit a9a4fa9
authored
Explain why ca-certificates is required in the Dockerfile (#50)
* Explain why ca-certificates is required in the Dockerfile
The previous comment ("enables TLS/SSL for securely fetching dependencies")
implied this is generic Docker hygiene. That framing is misleading:
@livekit/rtc-node ships a native Rust core that reads the system trust store
via rustls-tls-native-roots, not Node's bundled CA roots. node:22-slim
doesn't ship /etc/ssl/certs/ca-certificates.crt, so without ca-certificates
Room.connect() fails with the misleading "failed to retrieve region info"
error.
Rewrite the comment to name the cause so a developer trimming the image
knows the line is load-bearing. No functional change.
* Tighten ca-certificates comment
* Restore TLS context and --no-install-recommends note; drop version-specific image name1 parent e5c32a8 commit a9a4fa9
1 file changed
Lines changed: 4 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
14 | | - | |
15 | | - | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
16 | 17 | | |
17 | 18 | | |
18 | 19 | | |
| |||
0 commit comments