Files
2026-05-21 20:14:21 -04:00

35 lines
1.5 KiB
Markdown

# Base Image
This project creates a container image that provides purpose agnostic functionality to all extending images.
## Features
### Tools
The following tools are available.
- `curl`
### Extensible `ENTRYPOINT`
This image provides an entrypoint script that executes other entrypoint scripts, before executing the `CMD` (if provided). It will execute any executable `.sh` scripts added to the path described by the `CONTAINERD_ENTRYPOINT_PATH` environment variable. It will execute them in default sort order, so the use of numerical prefixes (`00_first.sh` or `99_last.sh`) may be wise.
You may also provide an `ENTRYPOINT_EXEC` to prefix all `CMD` executions in the entrypoint. For instance, you could use `ENTRYPOINT_EXEC=java` so container executions would always be executing `java`.
### Extensible Certificate Authority
This image detects files in the path described by the `CACERT_INSTALL_PATH` environment variable. If a file is found, it will treat it as a certificate and add it to the trusted certificates in all supported contexts.
## Configuration
### Environment Variables
| Name | Default | Mutable |
| ---------------------------- | --------------- |:-------:|
| `SKIP_ENTRYPOINT_SCRIPTS` | `false` | Yes |
| `ENTRYPOINT_EXEC` | *none* | Yes |
| `VERBOSE` | `true` | Yes |
| `CONTAINERD_ENTRYPOINT_PATH` | *not important* | No |
| `CACERT_INSTALL_PATH` | *not important* | No |