From a257209dc62eca9f24ea035208f30c34a5d0a63a Mon Sep 17 00:00:00 2001 From: Rohan Rustagi Date: Fri, 7 Nov 2025 15:21:06 +0530 Subject: [PATCH] adding devcontainer for whisper.cpp --- .devcontainer/devcontainer.json | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .devcontainer/devcontainer.json diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json new file mode 100644 index 00000000000..f102df4acfd --- /dev/null +++ b/.devcontainer/devcontainer.json @@ -0,0 +1,31 @@ +{ + "name": "Whisper.cpp Development DevContainer", + "description": "A development container for building and testing whisper.cpp using CMake and Docker.", + "build": { + "dockerfile": "../.devops/main.Dockerfile", + "context": ".." + }, + "settings": { + "terminal.integrated.defaultProfile.linux": "bash", + "cmake.buildDirectory": "${workspaceFolder}/build", + "cmake.configureOnOpen": false + }, + "extensions": [ + "ms-vscode.cpptools", + "ms-vscode.cmake-tools", + "twxs.cmake" + ], + "initializeCommand": "cmake -B build && cmake --build build -j --config Release", + "customizations": { + "vscode": { + "settings": { + "cmake.configureOnOpen": false, + "cmake.buildDirectory": "${workspaceFolder}/build", + "cmake.preferredGenerators": ["Unix Makefiles"] + } + } + }, + "mounts": [ + "source=${localWorkspaceFolder},target=/workspace/whisper.cpp,type=bind,consistency=cached" + ] +} \ No newline at end of file