Skip to content
Simple container to make [envsubst](https://www.gnu.org/software/gettext/manual/html_node/envsubst-Invocation.html) available for use as an init container
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.conform.yaml
.gitlab-ci.yml
CHANGELOG.md
Dockerfile
LICENSE-2.0.txt
LICENSE.txt
README.md
subst

README.md

envsubst

Simple container to make envsubst available for use as an init container. available.

Operation

This container takes arguments in the form input:output. input will be passed through envsubst and redirected to output, making directories as needed.

docker run --rm -it CONTAINER /etc/passwd:/dev/stdout

So e.g.:

docker run --rm -it CONTAINER /config/ifile:/etc/config/dir/ofile will take ifile, run through envsubst, mkdir -p /etc/config/dir, and place the output in /etc/config/dir/ofile

License

All of these files are licensed under GPL v2.0 OR Apache 2.0. You may use either license at your option.

You can’t perform that action at this time.