Skip to content

Instantly share code, notes, and snippets.

@florentb
Created October 1, 2014 11:15
Show Gist options
  • Save florentb/27165004e9759749ea93 to your computer and use it in GitHub Desktop.
Save florentb/27165004e9759749ea93 to your computer and use it in GitHub Desktop.
Vagrant Ubuntu + graphics libs + Nodejs
#!/usr/bin/env bash
add-apt-repository -y ppa:chris-lea/node.js creates=/etc/apt/sources.list.d/chris-lea-node_js-precise.list
apt-get update
apt-get upgrade -y
apt-get install -y build-essential libssl-dev
apt-get install -y libvips-dev imagemagick graphicsmagick libmagick++-dev git
apt-get install -y nodejs-dev nodejs-legacy npm
# -*- mode: ruby -*-
# vi: set ft=ruby :
VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vm.box = "ubuntu/trusty64"
config.vm.provision :shell, path: "bootstrap.sh"
config.vm.network "public_network"
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment