Proposal: expand dockerfile command "ENV" to be able to unset environment variables #11922
Labels
area/builder
kind/enhancement
Enhancements are not bugs or new features but can improve usability or performance.
problem on unsetting environment variables
In Dockerfile, we use "ENV" command to export environment variables. But we can not unset variables. While in linux shell we can do that using "export -n" or "unset". It is very inconvenient. Think about below:
RFC thoughts to solve this.
Allow ENV to allow one argument. Look at these cases:
RFC patches you can see here ##11921
Lable
We can expend lable command just as what ENV does.
The text was updated successfully, but these errors were encountered: