chore: add dev container support for simplicity#581
chore: add dev container support for simplicity#581Tony-WLB wants to merge 5 commits intocanonical:mainfrom
Conversation
|
@Tony-WLB
|
|
Hi @JegadishD ! Yeah, I have the same concern about the VS Code part. Since editor choice is largely up to individual developers, I’m not sure how much emphasis we should put on VS Code here. The current dependencies part can cover the tests triggered by However, as you mentioned, this container is not running systemd as PID 1, and that does bring some troubles for realistic testing. It seems that some manual setups are needed to run realistic tests with |
Hi @Tony-WLB
The systemd package is not present in the ubuntu docker container. In the process list of the container, I do not see systemd or networkd running in it.
Yes, The container dev environment can be be useful to an extent and the VM can be a suitable environment to test the real changes. |
benhoyt
left a comment
There was a problem hiding this comment.
Thanks. I'm happy once you've made the changes Jegadish mentioned.
This pull request introduces a development container setup to streamline onboarding and development for the Netplan project. It also completes the dependencies list.
Dev container environment:
.devcontainer/Dockerfile- define a reproducible Ubuntu 24.04-based development environment.devcontainer/devcontainer.json- configure the dev containerDocumentation updates:
README.mdto mention the new dev container as an alternative to manual dependency installation, and revised the dependency list to match the packages installed in the dev container.