

It can be easily adapted to an existing build environment, even for SSH remote development.Īs the time of writing (December 2019), only 圆4, armhf, arm64 and Alpine/amd64 platforms are available. This is the aim of scripts into container/ subdirectory. Unluckily, this feature requires Internet connection since the remote server is downloaded when attaching to the container, unless this server is already installed.

The development containerĬode allows you to develop inside a container. The following command wil install or update Code and the extensions listed above. They should be listed in a JSON array.Įxample of a file myteam.json (to be copied in the mirror directory): The flag -t permits to provide a minimal set of extensions to be installed. It requires Python 3.5+ and requests that should be installed on all modern Debian/Ubuntu. On a offline installation, get.py install or updates Code, downloads and updates the installed extensions from the mirror. # run the downloader with an alternate extension listĭocker run -ti -rm -v /path/to/mirror:/app/web -v /path/to/extensions.yaml:/app/extensions.yaml vscode-dl # build the imageĭocker run -ti -rm -v /path/to/mirror:/app/web vscode-dl Run with DockerĪ Dockerfile is provided to run the app into a container, with interpreter and requirements ready-to-use. Scan installed extensions and add them to the download list : vscode-dl -i # run directly from source cd src/vscode_dlĭownload Visual Studio Code and extensions listed in extensions.yaml (if found, otherwise the default list) into the web/ subdirectory ( screenshot) : vscode-dl pip3 install -U vscode-dlįrom GitHub repository pip3 install -r requirements.txt

This installs the latest stable, released version. The companion tool (see below) requires Python >= 3.5.
