{"repo":"Falldog/dcinja","free":true,"listed":false,"github":"https://github.com/Falldog/dcinja","clone":"git clone https://github.com/Falldog/dcinja.git","description":"The smallest binary size of template engine, born for docker image","language":"C++","stars":14,"topics":["docker","template-engine","command-line-tool","template","configuration"],"license":"MIT","category":"deployment-docker-iac","readme_excerpt":"dcinja dcinja is the smallest binary size template engine, designed specifically for Docker images. Overview Why dcinja? Dependency library Binary size Command line usage Template document Example Real docker example Integration from release build Troubleshooting Overview dcinja leverages the powerful inja template engine, encapsulated within a Docker command-line binary. It offers a dynamic configuration generator for Docker containers, making it an excellent alternative to envsubst . Unlike envsubst , which has limitations in style and usage, dcinja provides a more robust solution for generating various types of configurations. Why dcinja? For building Docker images, a smaller execution binary size is often preferable. Compiled with a C++ compiler, the dcinja binary is only 500KB 600KB, making it highly suitable for dynamically generating configuration files at runtime within containers. Dependency library dcinja is built upon robust, well-maintained C++ libraries, ensuring stability and performance: inja cxxopts nlohmann/json All dependencies are statically linked into the dcinja binary, meaning you do not need to install any of these libraries separately. This makes dcinja easy to use and integrate into your Docker images without additional setup. Binary size arch os dcinja size embedded libstdc++ ----- :-------- :------------: -------------------- linux-amd64 Ubuntu 16+, Debian stretch+ 591KB Y alpine alpine 3.9+ 586KB N (libstdc++.so 1.3MB+) Command line usage Reference","default_branch":null,"files":null,"tree":[],"storefront":"/r/Falldog","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Falldog/dcinja/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}