From 69d1bbbb01661f0725186adeda6c3375783d6986 Mon Sep 17 00:00:00 2001 From: Jess Frazelle Date: Fri, 3 Aug 2018 22:23:14 -0400 Subject: [PATCH] use jessie for vagrant Signed-off-by: Jess Frazelle --- vagrant/Dockerfile | 21 +++++++-------------- 1 file changed, 7 insertions(+), 14 deletions(-) diff --git a/vagrant/Dockerfile b/vagrant/Dockerfile index b160e21..b4a4449 100644 --- a/vagrant/Dockerfile +++ b/vagrant/Dockerfile @@ -1,8 +1,10 @@ -FROM debian:sid-slim +FROM debian:jessie-slim LABEL maintainer "Jessie Frazelle " RUN apt-get update && apt-get install -y \ bridge-utils \ + ca-certificates \ + curl \ gcc \ libxslt-dev \ libxml2-dev \ @@ -15,25 +17,16 @@ RUN apt-get update && apt-get install -y \ ruby-fog \ zlib1g-dev \ --no-install-recommends \ - && rm -rf /var/lib/apt/lists/* \ - && ldconfig -p + && rm -rf /var/lib/apt/lists/* ENV VAGRANT_VERSION 2.1.2 # download the source -RUN buildDeps=' \ - ca-certificates \ - curl \ - ' \ - && set -x \ - && apt-get update && apt-get install -y $buildDeps --no-install-recommends \ - && rm -rf /var/lib/apt/lists/* \ - && curl -sSL "https://releases.hashicorp.com/vagrant/${VAGRANT_VERSION}/vagrant_${VAGRANT_VERSION}_x86_64.deb" -o /tmp/vagrant-amd64.deb \ +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 \ - && apt-get purge -y --auto-remove $buildDeps + && rm -rf /tmp/*.deb -# install the libvirt plugin +# install the libvirt plugin RUN vagrant plugin install vagrant-libvirt ENTRYPOINT [ "vagrant" ]