Dockerfiles in the Hello World Docker Demonstration

This topic describes in detail the commands used by the Dockerfiles in the Hello World Docker demonstration.

Before reading this topic you should be familiar with the processes defined in Building a Base Image for Visual COBOL Build Tools for Windows and Building an Image Containing an Application to use with Visual COBOL Build Tools for Windows, and you need to have run the Docker demonstration to have created a base image for Visual COBOL.

The Hello World Docker demonstration includes the following Dockerfiles:

Dockerfile
The Dockerfile to use MSBuild to build the Hello World application.
Dockerfile.ant
The Dockerfile to use Ant to build the Hello World application.
Dockerfile.debug
The Dockerfile used to create an image in which you can debug the Hello World application.
Dockerfile.dn
The Dockerfile to use MSBuild to build the Hello World application in 32-bit or 64-bit environments.
Dockerfile.dndebug
The Dockerfile used to create an image in which you can debug the .NET managed Hello World application. You must be using Visual Studio 2017 (or later) to be able to debug a managed COBOL application running in a Docker container. See Debugging Managed COBOL Applications Running in Containers for more information.