Skip to content
This repository has been archived by the owner on Jul 7, 2024. It is now read-only.

Commit

Permalink
add ffmpeg dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
tjobi committed Feb 5, 2024
1 parent 5e523a7 commit e6489dc
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
// "forwardPorts": [],

// Use 'postCreateCommand' to run commands after the container is created.
"postCreateCommand": "curl -fsSL https://deb.nodesource.com/setup_21.x | sudo -E bash - && sudo apt-get install -y nodejs && sudo apt install libsqlite3-dev && python3 -m pip install --user pipx && python3 -m pipx ensurepath && pipx install poetry",
"postCreateCommand": "curl -fsSL https://deb.nodesource.com/setup_21.x | sudo -E bash - && sudo apt-get install -y nodejs && sudo apt install libsqlite3-dev && python3 -m pip install --user pipx && python3 -m pipx ensurepath && pipx install poetry && sudo apt-get install ffmpeg libsm6 libxext6 -y",
"customizations": {
"vscode": {
"extensions": [
Expand All @@ -21,7 +21,12 @@
"ms-python.python"
]
}
}
},
// device args
"runArgs": ["-e DISPLAY=$DISPLAY --net=host -v /tmp/.X11-unix:/tmp/.X11-unix:rw -v /dev/video0:/dev/video0 "],
//--device=/dev/video0:/dev/video0
"privileged": true,
"containerUser": "root"

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

0 comments on commit e6489dc

Please sign in to comment.