Ubuntu – Build multiple images from one Dockerfile
I am trying to work with multiple images from a single Dockerfile. The following succeeds when docker compose build is run, but I notice in the layers that both images have ENV KEY2=VALUE2. I am expecting image1 to have ENV…