we are thinking about how the creation of docker image is integrated into our build process and I have the following naive “way” how this could be done.
- The goal is to have a docker image, that we can “put on a DVD” and send to our customers.
- Build our projects.
- Post builds in our Visual Studio projects are copying the binaries and the Dockerfile to a specific “Docker Image” directory.
- A script or something invokes the Docker Engine and creates Docker Image (e.g. “Docker run…”).
- I invoke “Docker save” and put the exported TAR-file on our dvd.
Exists something like a “best practice” or a recommended approach for Step #4?