1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2025-01-18 04:58:51 +02:00

Updated Docker build in Vagrantfile.

This commit is contained in:
David Steele 2017-08-10 20:52:29 -04:00
parent ac1574448e
commit f8de73674c
2 changed files with 10 additions and 6 deletions

View File

@ -170,6 +170,12 @@
<p>Changed log test order to ignore unimportant log errors while shutting down <postgres/>.</p>
</release-item>
</release-bug-list>
<release-refactor-list>
<release-item>
<p>Updated Docker build in <file>Vagrantfile</file>.</p>
</release-item>
</release-refactor-list>
</release-test-list>
</release>

10
test/Vagrantfile vendored
View File

@ -71,13 +71,11 @@ Vagrant.configure(2) do |config|
#---------------------------------------------------------------------------------------------------------------------------
echo 'Install Docker' && date
apt-get install -y apt-transport-https ca-certificates
apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D
echo 'deb https://apt.dockerproject.org/repo ubuntu-xenial main' > /etc/apt/sources.list.d/docker.list
apt-get install -y apt-transport-https ca-certificates curl software-properties-common
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
apt-get update
apt-get install -y linux-image-extra-$(uname -r)
apt-get install -y docker-engine
service docker start
apt-get install -y docker-ce
sudo usermod -aG docker ubuntu
#---------------------------------------------------------------------------------------------------------------------------