Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save stripedpajamas/e9c90da42f904ede8e158421562ee8f3 to your computer and use it in GitHub Desktop.
Save stripedpajamas/e9c90da42f904ede8e158421562ee8f3 to your computer and use it in GitHub Desktop.
setting up a blank ubuntu:trusty docker container with the basics to compile vscode from source
sudo apt-get update

# initial deps
sudo apt-get --yes --force-yes install git curl make gcc g++ libx11-dev libxkbfile-dev libsecret-1-dev fakeroot rpm

# nvm
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.11/install.sh | bash
source ~/.bashrc
nvm install 8

# yarn
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
sudo apt-get --yes --force-yes install apt-transport-https
sudo apt-get update && sudo apt-get --yes --force-yes install yarn
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment