fix: add certs folder
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user