2019-07-26 19:10:14 +02:00
|
|
|
FROM debian:bullseye-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 \
|
2019-09-16 20:37:56 +02:00
|
|
|
ssh \
|
2019-09-16 20:38:40 +02:00
|
|
|
zlib1g-dev \
|
2016-03-31 01:39:23 +02:00
|
|
|
--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
|
|
|
|
2019-12-06 01:42:35 +01:00
|
|
|
ENV VAGRANT_VERSION 2.2.6
|
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" ]
|