touch Makefile
touch requirements.txt
mkdir devopslib
touch devopslib/__init__.py
touch hello.py
touch test_hello.py
-
Create a virtual env
virtualenv ~/.venv
-
Source the venv Edit .bashrc
source ~/.venv/bin/activate
Devcontainer dockerfile This reference talks about how to add a file name Dockerfile
FROM mcr.microsoft.com/devcontainers/base:ubuntu
In the devcontainer specify the reference to Dockerfile
{
"build": {
// Path is relataive to the devcontainer.json file.
"dockerfile": "Dockerfile"
}
}