2016-03-31 01:39:23 +02:00
|
|
|
FROM debian:sid
|
2015-07-20 06:34:35 +02:00
|
|
|
MAINTAINER Jessica Frazelle <jess@docker.com>
|
|
|
|
|
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 \
|
|
|
|
zlib1g-dev \
|
|
|
|
--no-install-recommends \
|
|
|
|
&& rm -rf /var/lib/apt/lists/*
|
2015-07-20 06:34:35 +02:00
|
|
|
|
2016-09-19 20:06:08 +02:00
|
|
|
ENV VAGRANT_VERSION 1.8.5
|
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" ]
|