[Updated] Devcontainer.json and Dockerfile, so that it can play audio
This commit is contained in:
@@ -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": {},
|
||||
|
||||
@@ -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/*
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user