

LABEL description="Container for use with VS"

Let’s look at another Dockerfile for use with VS Code, Dockerfile.vs. What we’re doing here is taking those techniques and applying them to our own container definition. These instructions are based on some base container definitions that David Ducatel has provided in this GitHub repo. We’ll need to change our container definition a bit to enable using it with VS Code. Couple that with a custom build task for compiling in your container and you will have an interactive containerized C++ development environment. VS Code has the capability to target a remote system for debugging. Creating a container for use with VS Code The source for this article is the same as that of the previous article: the findfaces GitHub repo. Here we will show how to use those containers with VS Code. It did not show you how to use a containers with your development environment. That post showed how to use a single Dockerfile to describe a build stage and a deployment stage resulting in a container optimized for deployment. This post builds on using multi-stage containers for C++ development.
