I'm having trouble following the source. Where exa...
# general
h
I'm having trouble following the source. Where exactly does something like
{<http://build_args.MY|build_args.MY>_ARG}
get translated into its
KEY=VALUE
pair for docker image tagging?
I've followed it up to
docker_build_args.py
where
DockerBuildArgs
is getting made, but having trouble seeing the last effort to transform things to environment variables when templated as such.
Looks like
docker_build_context.py
?
h
yeah I think that's the file
h
I'm not seeing where the surrounding braces are stripped off
Unless maybe that's not how the environment returns things?
f
DockerInterpolationContext.format
is the probably the method you seek
(and which is used in
docker_build_context.py
)
h
Got it. Thanks. I think the docker usage is far more complex than my needs so I'll just simplify for now.