Skip to content

Commit

Permalink
add devcontainer
Browse files Browse the repository at this point in the history
  • Loading branch information
BorjaEst committed Nov 15, 2022
1 parent c27427f commit 3ce0b91
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"name": "Python 3",
"image": "mcr.microsoft.com/devcontainers/python:3.10-bullseye",
"features": {
"ghcr.io/devcontainers/features/node:1": {
"version": "lts"
},
"ghcr.io/devcontainers/features/common-utils:1": {},
"ghcr.io/devcontainers/features/git:1": {},
"ghcr.io/devcontainers/features/nvidia-cuda:1": {},
"ghcr.io/rocker-org/devcontainer-features/pandoc:1": {},
"ghcr.io/devcontainers-contrib/features/pylint:1": {},
"ghcr.io/devcontainers-contrib/features/tox: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-test.txt",

// Configure tool-specific properties.
// "customizations": {},

// Set `remoteUser` to `root` to connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root.
"remoteUser": "vscode"
}

0 comments on commit 3ce0b91

Please sign in to comment.