fix: add certs folder

This commit is contained in:
Ian
2026-10-04 17:21:17 +02:00
parent a65f2983f1
commit feb7d4c9f8
3 changed files with 75 additions and 10 deletions
+3 -9
View File
@@ -74,15 +74,9 @@ NODE_VERSION=24.21.0 OPENCODE_VERSION=2.0.3 ./build.sh --no-cache
## Custom CA certificates
Custom CA certificates must be placed in the repository `certs/` directory before building the image.
Custom CA certificates must be placed in the repository `certs/` directory before building the image. See [`certs/README.md`](certs/README.md) for accepted formats and rules.
Example:
```text
certs/
├── company-root.crt
└── company-intermediate.crt
```
This directory is kept in git through a placeholder file, so a fresh clone builds without creating it first.
The Dockerfile copies this directory to:
@@ -104,7 +98,7 @@ NODE_EXTRA_CA_CERTS=/etc/ssl/certs/ca-certificates.crt
This allows both system tools and Node.js applications to trust the additional certificates.
**Important:** CA certificates need to be present when the image is built. The runtime container does not install certificates from the host.
**Important:** CA certificates need to be present when the image is built. The runtime container does not install certificates from the host. After adding or removing a certificate, rebuild with `./build.sh --no-cache --update`.
## Run the container