This version of Envplate builds from the upstream releases at https://github.com/kreuzwerker/envplate to configure an up-to-date Dockerfile build for ease of reuse.
The original version is still available at https://github.com/kreuzwerker/envplate
This repository provides a repackaged Docker image for kreuzwerker/envplate, a Docker-friendly trivial templating for configuration files using environment keys.
- Upstream Source: kreuzwerker/envplate
- Docker Image: Built from the upstream source, with no functional changes to the application itself. The Docker image may be built using updated versions of Golang as appropriate for security and compatibility.
- Purpose: This repo automates the build and packaging of envplate as a Docker image, suitable for use in CI/CD pipelines, Kubernetes, and other containerized platforms.
Pull or build the Docker image:
# Build locally
docker build -t local/envplate:latest .
# Or use your preferred Docker build commandRun the container:
docker run --rm local/envplate:latest --helpYou can mount your own config files or configuration as needed:
docker run --rm -v $(pwd)/config.template:/config.template \
-e DB_HOST=localhost -e DB_USER=admin \
local/envplate:latest -v /config.templateThis repository includes a comprehensive BATS test suite for integration, CLI, HTTP, signal, and Docker-based tests. All tests run against the Docker image to ensure container compatibility.
- See
envplate.batsfor details on running the test suite.
This repository is licensed under MIT License (MIT). See LICENSE for details.
- Original authors: kreuzwerker/envplate
- This repackaged Docker image and test suite are maintained by the amazee.io team.
This repository is not affiliated with or endorsed by the original authors. All credit for the application itself goes to the upstream maintainers. This repo only repackages the software for containerized environments and provides additional testing and automation. Where sustainable, the versions of golang used to build the image may be updated.