andino icon indicating copy to clipboard operation
andino copied to clipboard

Adding a devcontainer to Andino repository

Open Romu10 opened this issue 6 months ago • 0 comments

Created a devcontainer for Andino

A DevContainer (short for Development Container) is an isolated development environment that uses containers to provide a consistent and reproducible development setup. DevContainers allow developers to work in an environment configured specifically for a project without needing to install all dependencies on their local machine. This is particularly useful for development teams, as it ensures that all members work in an identical environment.

Key Features of a DevContainer

Environment Isolation: Each DevContainer is independent and does not affect or get affected by the host operating system.

Reproducible Configuration: The environment configuration, including all dependencies and tools, is defined in configuration files, ensuring that all developers use the same setup.

Consistency: Facilitates replicating the development environment across different machines, eliminating issues related to local configuration differences.

Ease of Use: DevContainers can be easily shared and used by other developers by simply cloning the repository and opening the container.

Key Files

devcontainer.json: Configuration file that defines the development environment, including the Docker base image, VS Code extensions, initialization scripts, and environment variables. Normally located into a .devcontainer directory.

Dockerfile (optional): File that describes the custom Docker image to be used for the DevContainer.

This devcontainer is configurated to use the same dockerfile located into the Andino repository. Also is intended to use same NVIDIA drivers configuration inside the devcontainer. Finally, I did pass some vscode extensions and arguments to properly run the Andino's simulation.

NOTICE: THIS DEVCONTAINER IS DESIGNED TO WORK WITH NVIDIA DRIVERS BUT WE HAVE NOT TESTED FOR DEVICES WITH NO NVIDIA DRIVERS.

Notes:

@francocipollone Please checkout this PR and provide me feedback if there is anything I need to fix or change before accepting this PR.

@JADC362 Thank for the support during the development of this new feature for Andino.

Romu10 avatar Aug 08 '24 02:08 Romu10