vscodium/docs/build.md
Baptiste Augrain 30313a518b
Update doc (#772)
* add missing dependencies for linux
* update node version
2021-07-23 09:48:52 +02:00

1.4 KiB

Build

Table of Contents

Dependencies

  • node 14
  • yarn
  • jq

Linux

  • libx11-dev
  • libxkbfile-dev
  • libsecret-1-dev
  • fakeroot
  • rpm
  • rpmbuild
  • dpkg

MacOS

Windows

  • powershell
  • git
  • sed

Build Scripts

Each platform has its build helper script in the directory build.

  • Linux: ./build/build_linux.sh
  • MacOS: ./build/build_macos_.sh
  • Windows: powershell -ExecutionPolicy ByPass -File .\build\build_windows.ps1

Build in Docker

To build for Linux, you can alternatively build VSCodium in docker

Firstly, create the container with:

docker run -ti --volume=<local vscodium source>:/root/vscodium --name=vscodium-build-agent vscodium/vscodium-linux-build-agent:bionic-x64 bash

When inside the container, you can use the following commands to build:

curl -fsSL https://deb.nodesource.com/setup_14.x | sudo -E bash -
sudo apt-get install -y nodejs

npm install -g yarn

git clone https://github.com/VSCodium/vscodium.git

cd vscodium

./get_repo.sh

export SHOULD_BUILD=yes
export OS_NAME=linux
export VSCODE_ARCH=x64

./build.sh