Here is some simple code that will read your vscode.json file and rewrite it in a format that can be used in a Docker build (Dockerfile): You will need this added to your Dockerfile so that it can install vscode extensions headless + the boiler plate code to install vs