Containerized development environment
The Visual Studio Code Dev Containers extension allows Visual Studio Code to attach to a running Docker container and use all the tools inside it that have been installed. To use this feature, we need to build a container.
We’ll use Docker to build a container with the following tools:
- ARM GNU Toolchain version 13.2
- CMake and the make utility
- Renode version 1.14
Make sure you’ve installed Docker on your host machine by following the instructions provided on the official website (https://docs.docker.com).
You can find the Dockerfile that will be used to build the container in this book’s GitHub repository (https://github.com/PacktPublishing/Cpp-in-Embedded-Systems), in the Chapter04
folder.
There’s also an image that you can download from Docker Hub (https://hub.docker.com/). You can pull it using the following command:
$ docker pull mahmutbegovic/cpp_in_embedded_systems...