2018-08-04 04:23:14 +02:00
|
|
|
FROM debian:jessie-slim
|
2017-03-09 19:14:37 +01:00
|
|
|
LABEL maintainer "Jessie Frazelle <jess@linux.com>"
|
2015-07-20 06:34:35 +02:00
|
|
|
|
2016-03-31 01:39:23 +02:00
|
|
|
RUN apt-get update && apt-get install -y \
|
2018-08-04 04:06:04 +02:00
|
|
|
bridge-utils \
|
2018-08-04 04:23:14 +02:00
|
|
|
ca-certificates \
|
|
|
|
curl \
|
2016-03-31 01:39:23 +02:00
|
|
|
gcc \
|
|
|
|
libxslt-dev \
|
|
|
|
libxml2-dev \
|
2018-08-04 04:06:04 +02:00
|
|
|
libvirt0 \
|
2016-03-31 01:39:23 +02:00
|
|
|
libvirt-dev \
|
|
|
|
make \
|
|
|
|
pkg-config \
|
2018-08-04 04:06:04 +02:00
|
|
|
qemu-kvm \
|
2016-03-31 01:39:23 +02:00
|
|
|
ruby-dev \
|
2016-12-02 22:42:52 +01:00
|
|
|
ruby-fog \
|
2016-03-31 01:39:23 +02:00
|
|
|
zlib1g-dev \
|
|
|
|
--no-install-recommends \
|
2018-08-04 04:23:14 +02:00
|
|
|
&& rm -rf /var/lib/apt/lists/*
|
2015-07-20 06:34:35 +02:00
|
|
|
|
2018-11-29 22:37:03 +01:00
|
|
|
ENV VAGRANT_VERSION 2.2.2
|
2015-07-20 06:34:35 +02:00
|
|
|
|
2018-03-24 00:52:30 +01:00
|
|
|
# download the source
|
2018-08-04 04:23:14 +02:00
|
|
|
RUN curl -sSL "https://releases.hashicorp.com/vagrant/${VAGRANT_VERSION}/vagrant_${VAGRANT_VERSION}_x86_64.deb" -o /tmp/vagrant-amd64.deb \
|
2018-03-24 00:52:30 +01:00
|
|
|
&& dpkg -i /tmp/vagrant-amd64.deb \
|
2018-08-04 04:23:14 +02:00
|
|
|
&& rm -rf /tmp/*.deb
|
2016-03-31 01:39:23 +02:00
|
|
|
|
2018-08-04 04:23:14 +02:00
|
|
|
# install the libvirt plugin
|
2018-03-24 00:52:30 +01:00
|
|
|
RUN vagrant plugin install vagrant-libvirt
|
2015-07-20 06:34:35 +02:00
|
|
|
|
|
|
|
ENTRYPOINT [ "vagrant" ]
|