You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
597 B

  1. # Docker image published at quay.io/kubespray/vagrant
  2. ARG KUBESPRAY_VERSION
  3. FROM quay.io/kubespray/kubespray:${KUBESPRAY_VERSION}
  4. ENV VAGRANT_VERSION=2.3.4
  5. ENV VAGRANT_DEFAULT_PROVIDER=libvirt
  6. ENV VAGRANT_ANSIBLE_TAGS=facts
  7. RUN apt-get update && apt-get install -y wget libvirt-dev openssh-client rsync git build-essential
  8. # Install Vagrant
  9. RUN wget https://releases.hashicorp.com/vagrant/${VAGRANT_VERSION}/vagrant_${VAGRANT_VERSION}-1_amd64.deb && \
  10. dpkg -i vagrant_${VAGRANT_VERSION}-1_amd64.deb && \
  11. rm vagrant_${VAGRANT_VERSION}-1_amd64.deb && \
  12. vagrant plugin install vagrant-libvirt