mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2024-11-23 11:31:49 +01:00
14c7ab9194
Signed-off-by: Jess Frazelle <acidburn@jessfraz.com>
33 lines
703 B
Docker
33 lines
703 B
Docker
FROM debian:bullseye-slim
|
|
LABEL maintainer "Jessie Frazelle <jess@linux.com>"
|
|
|
|
RUN apt-get update && apt-get install -y \
|
|
bridge-utils \
|
|
ca-certificates \
|
|
curl \
|
|
gcc \
|
|
libxslt-dev \
|
|
libxml2-dev \
|
|
libvirt0 \
|
|
libvirt-dev \
|
|
make \
|
|
pkg-config \
|
|
qemu-kvm \
|
|
ruby-dev \
|
|
ssh \
|
|
zlib1g-dev \
|
|
--no-install-recommends \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
ENV VAGRANT_VERSION 2.2.5
|
|
|
|
# download the source
|
|
RUN curl -sSL "https://releases.hashicorp.com/vagrant/${VAGRANT_VERSION}/vagrant_${VAGRANT_VERSION}_x86_64.deb" -o /tmp/vagrant-amd64.deb \
|
|
&& dpkg -i /tmp/vagrant-amd64.deb \
|
|
&& rm -rf /tmp/*.deb
|
|
|
|
# install the libvirt plugin
|
|
RUN vagrant plugin install vagrant-libvirt
|
|
|
|
ENTRYPOINT [ "vagrant" ]
|