Remove accidential changes

This commit is contained in:
Dmitry Marchuk 2026-06-07 08:03:55 +03:00
parent 8f6e083420
commit 51dd890eb6
2 changed files with 15 additions and 8 deletions

View File

@ -6,8 +6,19 @@
"initializeCommand": ".devcontainer/initialize.sh",
"postCreateCommand": ".devcontainer/post_create.sh",
"overrideCommand": false,
"remoteUser": "root",
"features": {},
"remoteUser": "vscode",
"features": {
"ghcr.io/devcontainers/features/common-utils:2": {}
// Uncomment the following lines to use ONNX Runtime with CUDA support
// "ghcr.io/devcontainers/features/nvidia-cuda:1": {
// "installCudnn": true,
// "installNvtx": true,
// "installToolkit": true,
// "cudaVersion": "12.5",
// "cudnnVersion": "9.4.0.58"
// },
// "./features/onnxruntime-gpu": {}
},
"forwardPorts": [
8971,
5000,

8
.devcontainer/post_create.sh Executable file → Normal file
View File

@ -13,12 +13,8 @@ fi
# Frigate normal container runs as root, so it have permission to create
# the folders. But the devcontainer runs as the host user, so we need to
# create the folders and give the host user permission to write to them.
SUDO=""
if [[ $EUID -ne 0 ]]; then
SUDO="sudo"
fi
$SUDO mkdir -p /media/frigate
$SUDO chown -R "$(id -u):$(id -g)" /media/frigate
sudo mkdir -p /media/frigate
sudo chown -R "$(id -u):$(id -g)" /media/frigate
# When started as a service, LIBAVFORMAT_VERSION_MAJOR is defined in the
# s6 service file. For dev, where frigate is started from an interactive