In my Dockerfile, I would like to define variables that I can use later in the Dockerfile.
I am aware of the
If the variable is re-used within the same RUN instruction, one could simply set a shell variable. I really like how they approached this with the official Ruby Dockerfile.
RUN