Some time ago I did an interview with a company and they mentioned that their apps are packaged with Docker. Also they said that when the modify the application they not only will commit the code but the entire image. So a release just consists in a push of the commit from git (?).
I didn't have a chance to ask for more details, so I am not sure what they meant...
Option 1:
They actually put a Dockerfile in the source tree somewhere and they commit that and then some script will just copy the compiled application in the right dir (we're talking about java).
Option 2:
They commit the whole image (?). I'm not familiar with the structure of Docker images, are they binary or just a big directory tree with the distribution files (plus config for the app, etc...).
Or something else... I don't know docker enough.
Obviously I don't want to put the sources in the images and committing an entire distribution in git seems a bit overkill to me...