Skip to content

Commit

Permalink
[vagrant] install dependencies with rover
Browse files Browse the repository at this point in the history
  • Loading branch information
mikz committed Nov 7, 2017
1 parent 36a005b commit 7d4d450
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ Vagrant.configure("2") do |config|
chmod +x /usr/local/bin/stap++
# Install APIcast dependencies
luarocks make app/apicast/*.rockspec --tree /usr/local/openresty/luajit
(cd app && make dependencies)
# Add various utilites to the PATH
ln -sf /usr/local/openresty/luajit/bin/luajit /usr/local/bin/luajit
Expand All @@ -75,6 +75,9 @@ Vagrant.configure("2") do |config|
# Allow vagrant user to use systemtap
usermod -a -G stapusr,stapdev vagrant
mkdir -p /usr/share/lua/5.1/luarocks/
curl -L https://raw.githubusercontent.com/3scale/s2i-openresty/ffb1c55533be866a97466915d7ef31c12bae688c/site_config.lua > /usr/share/lua/5.1/luarocks/site_config.lua
# Raise opened files limit for vagrant user
echo -e 'vagrant\t\t\t-\tnofile\t\t1000000' > /etc/security/limits.d/90-nofile.conf
SHELL
Expand Down

0 comments on commit 7d4d450

Please sign in to comment.