A cookiecutter template for creating a Docker image with SSL certificates.
- Create a new deployment repository:
- Configure your deployment:
- Repository URLs for your projects
- Docker image name
One of the key features of this template is automatic certificate installation into Docker images. This is useful when your applications need to trust custom Certificate Authorities or internal certificates.
Certificate installation is configured during template creation:
{
"project_slug": "my-deployment",
"docker_image_name": "ghcr.io/my-org/my-image"
}Place your certificate files in the assets/ directory:
assets/
├── company-root-ca.crt
└── custom-cert.crt
Supported formats: .crt
| Variable | Description | Example |
|---|---|---|
project_slug |
Name of the deployment project | my-app-deployment |
docker_image_name |
Name of the Docker image | ghcr.io/my-org/my-image |
Certificate installation works with:
- Debian/Ubuntu: Uses
apt-getandupdate-ca-certificates - Alpine Linux: Uses
apkandupdate-ca-certificates
This template is released under the MIT License.