Browse Source
* [Feature] Add devcontainer support w/Python,pipx,fabric installed * [Feature] Add devcontainer support w/Python,pipx,fabric installed * [Feature] Add devcontainer support w/Python,pipx,fabric installedpull/343/head
1 changed files with 22 additions and 0 deletions
@ -0,0 +1,22 @@
|
||||
// For format details, see https://aka.ms/devcontainer.json. For config options, see the |
||||
// README at: https://github.com/devcontainers/templates/tree/main/src/python |
||||
{ |
||||
"name": "Python 3", |
||||
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile |
||||
"image": "python:3.12", |
||||
|
||||
// Features to add to the dev container. More info: https://containers.dev/features. |
||||
// "features": {}, |
||||
|
||||
// Use 'forwardPorts' to make a list of ports inside the container available locally. |
||||
// "forwardPorts": [], |
||||
|
||||
// Use 'postCreateCommand' to run commands after the container is created. |
||||
"postCreateCommand": "apt-get update && apt-get install -y pipx apt-utils ffmpeg && pipx install . && rm -rf /var/lib/apt/lists/* && apt-get clean && echo \"export PATH=\\\"\\$PATH:~/.local/bin\\\"\" >> ~/.bashrc" |
||||
|
||||
// Configure tool-specific properties. |
||||
// "customizations": {}, |
||||
|
||||
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root. |
||||
// "remoteUser": "root" |
||||
} |
Loading…
Reference in new issue