Skip to content

Commit

Permalink
Merge pull request #217 from mmd-osm/patch/vagrant
Browse files Browse the repository at this point in the history
Update Vagrantfile to use bionic
  • Loading branch information
mmd-osm authored Jan 2, 2020
2 parents df7334a + c2a621b commit 00725b0
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 10 deletions.
8 changes: 4 additions & 4 deletions Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
VAGRANTFILE_API_VERSION = "2"

Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
# default build target is currently Ubuntu 16.04
config.vm.define "xenial", :primary => true do |xenial|
xenial.vm.box = 'ubuntu/xenial64'
xenial.vm.provision 'shell', path: 'scripts/provision.sh'
# default build target is currently Ubuntu 18.04
config.vm.define "bionic", :primary => true do |bionic|
bionic.vm.box = 'ubuntu/bionic64'
bionic.vm.provision 'shell', path: 'scripts/provision.sh'
end

config.vm.synced_folder ".", "/vagrant"
Expand Down
13 changes: 7 additions & 6 deletions scripts/provision.sh
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
#!/bin/bash

apt-get install -y git build-essential automake autoconf libtool;
apt-get update

apt-get install -y libxml2-dev libpqxx-dev libfcgi-dev \
libboost-dev libboost-regex-dev libboost-program-options-dev \
libboost-date-time-dev libboost-filesystem-dev \
libboost-system-dev libboost-locale-dev libmemcached-dev \
libcrypto++-dev;
apt-get install -y git build-essential automake autoconf libtool

apt-get install -y libboost-dev libboost-filesystem-dev libboost-locale-dev \
libboost-program-options-dev libboost-system-dev \
libcrypto++-dev libfcgi-dev libmemcached-dev libpqxx-dev \
libxml2-dev libyajl-dev

# following stuff is for testing only
apt-get install -y postgresql postgresql-contrib postgis
Expand Down

0 comments on commit 00725b0

Please # to comment.