A cli utility written in GoLang that replaces strings in files with the value of env vars.
This is intended to be used with Docker's multi-stage builds to pull a prebuilt binary for use in another image
Read more about the utility on github
FROM itaylor/envreplace as envreplace FROM alpine:latest COPY --from=envreplace /usr/local/bin/envreplace /usr/local/bin/envreplace ... the rest of your dockerfile here...
Docker Pull Command