mirror of
https://github.com/scito/extract_otp_secret_keys
synced 2024-11-16 06:15:17 +00:00
23 lines
777 B
JSON
23 lines
777 B
JSON
// Docu: https://containers.dev/implementors/json_reference/
|
|
{
|
|
"name": "Python 3",
|
|
"build": {
|
|
"dockerfile": "Dockerfile",
|
|
"context": "..",
|
|
//Update 'VARIANT' to pick a Python version: 3, 3.10, ...
|
|
"args": {
|
|
"VARIANT": "3.11"
|
|
}
|
|
},
|
|
// Add the IDs of extensions you want installed when the container is created.
|
|
"extensions": [
|
|
"ms-python.python"
|
|
],
|
|
// Use 'postCreateCommand' to run commands after the container is created.
|
|
"postCreateCommand":
|
|
"python -m pip install --upgrade pip; pip install -r requirements-dev.txt; pip install -r requirements.txt",
|
|
"postStartCommand": "echo 'Happy coding'"
|
|
// Comment out to connect as root instead.
|
|
// "remoteUser": "vscode"
|
|
}
|