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:
Oleksis Fraga Menéndez 2022-11-20 22:08:16 -05:00
parent f352a09778
commit b66fc019e9
No known key found for this signature in database
GPG key ID: 2F652E8B1525AB01

View 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"
}