envsubst

Substitutes environment variables with their value in shell format strings. Variables to be replaced should be in either ${var} or $var format. More information: <https://www.gnu.org/software/gettext/manual/html_node/envsubst-Invocation.html>.

Debian Debian
RUN apt-get update && \ apt-get install -y gettext-base
Ubuntu
RUN apt-get update && \ apt-get install -y gettext-base
Alpine
RUN apk add gettext
Arch Arch Linux
RUN pacman -S --noconfirm gettext
image/svg+xml Kali Linux
RUN apt-get update && \ apt-get install -y gettext-base
CentOS
RUN yum install -y gettext
Fedora
RUN dnf install -y gettext
Raspbian
RUN apt-get update && \ apt-get install -y gettext-base
click the source code to copy install envsubst on any operating system with command-not-found.com