VS Code development containers templates, taken from vscode-dev-containers and customized to run with Podman vs-code-remote-containers-podman.
Prerequisites:
-
Installed VSCode version >= 1.63
-
Installed devcontainer-cli
-
devcontainer-cli
is on the$PATH
or add to~/.local/bin
cd ~/.local/bin ln -s ~/.config/Code/User/globalStorage/ms-vscode-remote.remote-containers/cli-bin/devcontainer devcontainer
-
Installed
make
>= 4.2.1RHEL8/Fedora:
sudo dnf install make
Create New Project:
git clone https://github.com/mbodo/vscode-dev-containers-templates.git
cd vscode-dev-containers-templates
- Execute
Example:
make PROJECT=<Project Name> \ TYPE=container-templates/<TYPE> \ OS=container-templates/<TYPE>/<OS>
Output:make PROJECT=myproject \ TYPE=go \ OS=debian
▶ Executing initial setup of project: myproject mkdir -p /home/fedora/git/mbodo/vscode-dev-containers-templates/../myproject cp -R /home/fedora/git/mbodo/vscode-dev-containers-templates/container-templates/go/debian/.build /home/fedora/git/mbodo/vscode-dev-containers-templates/../myproject chmod 0744 -R /home/fedora/git/mbodo/vscode-dev-containers-templates/../myproject/