Skip to content

Commit

Permalink
Install docker in centos ci (#21)
Browse files Browse the repository at this point in the history
  • Loading branch information
Budh Ram Gurung authored Jan 17, 2017
1 parent 95e5a9d commit a12ab0e
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions centos_ci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,18 @@ yum -y install \
livecd-tools \
curl

# Install Docker (https://docs.docker.com/engine/installation/linux/centos/#/install-with-the-script)
curl -fsSL https://get.docker.com/ | sh
systemctl enable docker.service
systemctl start docker

# Install Libvirt
sudo yum -y install kvm qemu-kvm libvirt
sudo systemctl start libvirtd
yum -y install kvm qemu-kvm libvirt
systemctl start libvirtd

# Install Avocado
sudo curl https://repos-avocadoproject.rhcloud.com/static/avocado-el.repo -o /etc/yum.repos.d/avocado.repo
sudo yum install -y avocado
curl https://repos-avocadoproject.rhcloud.com/static/avocado-el.repo -o /etc/yum.repos.d/avocado.repo
yum install -y avocado

# Prepare ISO for testing
make iso
Expand Down

0 comments on commit a12ab0e

Please sign in to comment.