[Updated] Devcontainer.json and Dockerfile, so that it can play audio

This commit is contained in:
Ninjaws
2024-12-06 12:01:39 +01:00
parent 38ab597170
commit 0c1f12d534
2 changed files with 4 additions and 0 deletions
+3
View File
@@ -9,6 +9,8 @@
"runArgs": [
"--name=jelly-rescue-dev-cont",
"--net=host",
"--privileged",
"--volume", "/dev/snd:/dev/snd",
"--volume", "/tmp/.X11-unix:/tmp/.X11-unix",
"--env", "DISPLAY=${localEnv:DISPLAY}"
],
@@ -18,6 +20,7 @@
"source=./scripts,target=/app/scripts,type=bind",
"source=./dist,target=/app/dist,type=bind"
],
"customizations": {
"vscode": {
"settings": {},
+1
View File
@@ -9,6 +9,7 @@ RUN apt-get update \
libasound2-dev libx11-dev libxrandr-dev libxi-dev libgl1-mesa-dev \
libglu1-mesa-dev libxcursor-dev libxinerama-dev libwayland-dev libxkbcommon-dev \
sudo \
alsa-utils \
&& rm -rf /var/cache/apt/*