Skip to content
Snippets Groups Projects
Commit 7e0541f3 authored by Konstantin Pavlov's avatar Konstantin Pavlov
Browse files

20-envsubst-on-templates.sh: use awk to get environment.

The solution with xargs reading from /proc/self/environ is too
expensive, especially when there is a lot of environment variables to be
checked.

See https://github.com/nginxinc/docker-nginx-unprivileged/issues/107 for
more details.
parent cc7ca22a
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment