Browse Source

[Feature] Add devcontainer support w/Python,pipx,fabric installed (#1)

* [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 installed
pull/343/head
Steve Radich 12 months ago committed by GitHub
parent
commit
c8361a1f97
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 22
      .devcontainer/devcontainer.json

22
.devcontainer/devcontainer.json

@ -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…
Cancel
Save