mvallee
(Mvallee)
1
Maybe it`s there already, and I’ve missed it…
But, I think it would be great if ENV can be a little more dynamic in Dockerfile. For instance…
RUN mysetup.sh
ENV VERSION=`cat version`
Like we do in bash, to execute a command, and pass it into a variable…
Thanks
Marc
@erikh? I don’t think I’ve seen a proposal for it yet - and I’m not sure if there are any side-effect issues to worry about.
I did just come across https://github.com/docker/docker/issues/538
but that’s not really about this either.
larrycai
(Larry Cai)
4
see https://github.com/docker/docker/issues/4962 as well, it is very useful for proxy issues during build as well.
So we can keep the Dockerfile consistency even in firewall when they need access external repo.