Because Docker container images for Visual Studio Build Tools are very large, we have created a repository of “recipes”. These are dockerfiles and, when necessary, supporting scripts are purpose-built for solution types that require certain workloads and even other tools like package managers. I encourage developers and DevOps to take a look and even contribute useful samples of unique workloads.
As a reminder, Visual Studio Build Tools is licensed as a supplement to Visual Studio, so images must not be pushed to public repositories. These samples should always work and the resulting images can be pushed to private repositories.