2016-03-31 01:39:23 +02:00
|
|
|
FROM debian:sid
|
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 \
|
|
|
|
gcc \
|
|
|
|
libxslt-dev \
|
|
|
|
libxml2-dev \
|
|
|
|
libvirt-dev \
|
|
|
|
make \
|
|
|
|
pkg-config \
|
|
|
|
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 \
|
|
|
|
&& rm -rf /var/lib/apt/lists/*
|
2015-07-20 06:34:35 +02:00
|
|
|
|
2018-02-03 23:03:35 +01:00
|
|
|
ENV VAGRANT_VERSION 2.0.2
|
2015-07-20 06:34:35 +02:00
|
|
|
|
2016-03-31 01:39:23 +02:00
|
|
|
ADD https://releases.hashicorp.com/vagrant/${VAGRANT_VERSION}/vagrant_${VAGRANT_VERSION}_x86_64.deb /src/vagrant_${VAGRANT_VERSION}_x86_64.deb
|
|
|
|
|
|
|
|
# install vagrant and the libvirt plugin
|
|
|
|
RUN dpkg -i /src/vagrant_${VAGRANT_VERSION}_x86_64.deb \
|
|
|
|
&& vagrant plugin install vagrant-libvirt
|
2015-07-20 06:34:35 +02:00
|
|
|
|
|
|
|
ENTRYPOINT [ "vagrant" ]
|