Sha256: 9f17cad904f562ba6f64808f3c5bad3e6dbf922d063136e3f779ad1e51abacf2

Contents?: true

Size: 844 Bytes

Versions: 2

Compression:

Stored size: 844 Bytes

Contents

VAGRANTFILE_API_VERSION = '2'

Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
  config.vm.box = 'ubuntu/trusty64'

  config.vm.provision 'shell', :inline => <<-SH
    set -e

    cd /vagrant

    echo 'Install git, node, npm, imagemagick...'
    apt-get install -y git npm nodejs-legacy imagemagick > /dev/null

    echo 'Update rubygems...'
    REALLY_GEM_UPDATE_SYSTEM=x gem update --system > /dev/null

    echo 'Install bundler...'
    gem install bundler > /dev/null

    echo 'Install svgo...'
    npm install -g -q svgo > /dev/null

    echo 'Install pngout...'
    curl -s \
      'http://static.jonof.id.au/dl/kenutils/pngout-20130221-linux.tar.gz' | \
      tar -xz -C /usr/local/bin --strip-components 2 \
      --wildcards '*/x86_64/pngout'

    echo 'Bundle...'
    bundle install --jobs=3 --quiet
    bundle list
  SH
end

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
openstreetmap-image_optim-0.21.0.1 Vagrantfile
image_optim-0.21.0 Vagrantfile