I wonder if is possible to set a LABEL during building of a container with a based that is based on a command run on the container.
Example, wanting to expose python=2.7.14 when the number would be obtained from running python --version during build.
The idea is to expose some information about what was build as labels, before starting the build these versions are not known (like packages installed using yum).
Seems like it is just not possible. You need to use build arguments before launching the build.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With