ci: Set up docker to use Go vagrant too
This commit is contained in:
parent
6646cf50b4
commit
11a4664901
@ -1,7 +1,14 @@
|
||||
#!/bin/bash
|
||||
set -x
|
||||
|
||||
export VAGRANT_SPEC_DOCKER_IMAGE="${VAGRANT_SPEC_DOCKER_IMAGE}"
|
||||
|
||||
# Explicitly use Go binary
|
||||
export VAGRANT_PATH=/vagrant/vagrant
|
||||
|
||||
# Explicitly set high open file limits... vagrant-ruby tends to run into the
|
||||
# default 1024 limit during some operations.
|
||||
ulimit -n 65535
|
||||
|
||||
vagrant-spec ${VAGRANT_SPEC_ARGS} --config /vagrant/test/vagrant-spec/configs/vagrant-spec.config.docker.rb
|
||||
result=$?
|
||||
|
||||
|
||||
@ -1,5 +1,4 @@
|
||||
#!/bin/bash
|
||||
set -x
|
||||
|
||||
export VAGRANT_EXPERIMENTAL="${VAGRANT_EXPERIMENTAL:-1}"
|
||||
export VAGRANT_SPEC_BOX="${VAGRANT_SPEC_BOX}"
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
set -xe
|
||||
set -e
|
||||
|
||||
apt-get update
|
||||
apt-get update -q
|
||||
apt-get install -qq -y --force-yes curl apt-transport-https
|
||||
apt-get purge -qq -y lxc-docker* || true
|
||||
curl -sSL https://get.docker.com/ | sh
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user