mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-30 12:01:28 +00:00
Add devcontainer/features for use Codespaces
- Install [act](https://github.com/dhoeric/features/tree/main/src/act#reference) - run github action locally - Features like black, flake8 , docker-in-docker
This commit is contained in:
parent
f352a09778
commit
b66fc019e9
25
.devcontainer/devcontainer.json
Normal file
25
.devcontainer/devcontainer.json
Normal file
|
@ -0,0 +1,25 @@
|
||||||
|
{
|
||||||
|
"name": "Python 3",
|
||||||
|
"image": "mcr.microsoft.com/devcontainers/python:3.9",
|
||||||
|
"features": {
|
||||||
|
"ghcr.io/devcontainers/features/node:1": {
|
||||||
|
"version": "latest"
|
||||||
|
},
|
||||||
|
"ghcr.io/devcontainers-contrib/features/black:1": {},
|
||||||
|
"ghcr.io/devcontainers-contrib/features/flake8:1": {},
|
||||||
|
"ghcr.io/devcontainers/features/docker-in-docker:1": {},
|
||||||
|
"ghcr.io/dhoeric/features/act:1": {}
|
||||||
|
}
|
||||||
|
|
||||||
|
// 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": "pip3 install --user -r requirements.txt",
|
||||||
|
|
||||||
|
// 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 a new issue