2020-04-18 20:53:36 +00:00
|
|
|
# Docker image published at quay.io/kubespray/vagrant
|
|
|
|
|
2020-05-02 07:56:26 +00:00
|
|
|
ARG KUBESPRAY_VERSION
|
2020-04-18 20:53:36 +00:00
|
|
|
FROM quay.io/kubespray/kubespray:${KUBESPRAY_VERSION}
|
|
|
|
|
2021-12-02 21:23:44 +00:00
|
|
|
ENV VAGRANT_VERSION=2.2.19
|
2020-04-18 20:53:36 +00:00
|
|
|
ENV VAGRANT_DEFAULT_PROVIDER=libvirt
|
|
|
|
|
|
|
|
RUN apt-get update && apt-get install -y wget libvirt-dev openssh-client rsync git
|
|
|
|
|
|
|
|
# Install Vagrant
|
2020-09-18 21:48:27 +00:00
|
|
|
RUN wget https://releases.hashicorp.com/vagrant/${VAGRANT_VERSION}/vagrant_${VAGRANT_VERSION}_x86_64.deb && \
|
|
|
|
dpkg -i vagrant_${VAGRANT_VERSION}_x86_64.deb && \
|
|
|
|
rm vagrant_${VAGRANT_VERSION}_x86_64.deb && \
|
|
|
|
vagrant plugin install vagrant-libvirt
|