It turned out the entry point defined within the Dockerfile
is actually the very initial the process within the container (pid=1).
Which means there's no other upstream process to resolve the env variable either from /etc/profile
or /etc/environment
or whatever.
So it is the matter of entry point it self to manage/decide/resolve whatever the sources to refer for env resolution.